home *** CD-ROM | disk | FTP | other *** search
/ Twentieth Anniversary Mac…osh - QuickTime Showcase / 691-1418,Twentieth Anniversary Macintosh. QuickTime Showcase. (CD).toast / QuickTime Showcase / QuickTime Showcase.rsrc / CODE_20_GRAPHICS.txt < prev    next >
Text File  |  1997-05-15  |  369KB  |  6,703 lines

  1. # near model CODE resource
  2. # jump table entries: 45976-46024 (49 of them)
  3. 00000000  FFFF                     .invalid   <<F/7/7>>
  4. 00000002  B398                     xor.l      [A0]+, D1
  5. 00000004  0000 46EC                ori.b      D0, 0xEC
  6. 00000008  48E7 1030                movem.l    -[A7], D3,A2,A3
  7. 0000000C  514F                     subq.w     A7, 8
  8. 0000000E  266F 0018                movea.l    A3, [A7 + 0x18]
  9. 00000012  2453                     movea.l    A2, [A3]
  10. 00000014  206D 1FFC                movea.l    A0, [A5 + 0x1FFC]
  11. 00000018  2050                     movea.l    A0, [A0]
  12. 0000001A  2068 0016                movea.l    A0, [A0 + 0x16]
  13. 0000001E  2050                     movea.l    A0, [A0]
  14. 00000020  3628 0020                move.w     D3, [A0 + 0x20]
  15. 00000024  4AAB 001A                tst.l      [A3 + 0x1A]
  16. 00000028  6708                     beq        +0xA /* 00000032 */
  17. 0000002A  362B 001C                move.w     D3, [A3 + 0x1C]
  18. 0000002E  42AB 001A                clr.l      [A3 + 0x1A]
  19. label00000032:
  20. 00000032  4857                     pea.l      [A7]
  21. 00000034  4EAD BB88                jsr        [A5 - 0x4478]
  22. 00000038  0C43 0001                cmpi.w     D3, 0x1
  23. 0000003C  584F                     addq.w     A7, 4
  24. 0000003E  6610                     bne        +0x12 /* 00000050 */
  25. 00000040  486A 0014                pea.l      [A2 + 0x14]
  26. 00000044  486F 0004                pea.l      [A7 + 0x4]
  27. 00000048  4EAD BD50                jsr        [A5 - 0x42B0]
  28. 0000004C  504F                     addq.w     A7, 8
  29. 0000004E  6012                     bra        +0x14 /* 00000062 */
  30. label00000050:
  31. 00000050  486A 0014                pea.l      [A2 + 0x14]
  32. 00000054  486F 0004                pea.l      [A7 + 0x4]
  33. 00000058  3F03                     move.w     -[A7], D3
  34. 0000005A  4EAD AA98                jsr        [A5 - 0x5568]
  35. 0000005E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  36. label00000062:
  37. 00000062  1543 0033                move.b     [A2 + 0x33], D3
  38. 00000066  1F3C 0001                move.b     -[A7], 0x1
  39. 0000006A  4267                     clr.w      -[A7]
  40. 0000006C  486A 000F                pea.l      [A2 + 0xF]
  41. 00000070  4EAD BAA8                jsr        [A5 - 0x4558]
  42. 00000074  2F2D 205A                move.l     -[A7], [A5 + 0x205A /* export_1031 */]
  43. 00000078  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  44. 0000007C  2F2D 1C30                move.l     -[A7], [A5 + 0x1C30]
  45. 00000080  4EAD B640                jsr        [A5 - 0x49C0]
  46. 00000084  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  47. 00000088  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  48. 0000008C  4E75                     rts
  49. fn0000008E:
  50. 0000008E  594F                     subq.w     A7, 4
  51. 00000090  4857                     pea.l      [A7]
  52. 00000092  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  53. 00000096  4EBA 3FD4                jsr        [PC + 0x3FD4 /* 0000406C */]
  54. 0000009A  3B40 1C10                move.w     [A5 + 0x1C10], D0
  55. 0000009E  4AAF 0008                tst.l      [A7 + 0x8]
  56. 000000A2  504F                     addq.w     A7, 8
  57. 000000A4  672E                     beq        +0x30 /* 000000D4 */
  58. 000000A6  4A6D 1C10                tst.w      [A5 + 0x1C10]
  59. 000000AA  6628                     bne        +0x2A /* 000000D4 */
  60. 000000AC  42A7                     clr.l      -[A7]
  61. 000000AE  1F3C 0005                move.b     -[A7], 0x5
  62. 000000B2  2F2D 8AC4                move.l     -[A7], [A5 - 0x753C]
  63. 000000B6  1F3C 0001                move.b     -[A7], 0x1
  64. 000000BA  4227                     clr.b      -[A7]
  65. 000000BC  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  66. 000000C0  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  67. 000000C4  4EBA 361E                jsr        [PC + 0x361E /* 000036E4 */]
  68. 000000C8  3B40 1C10                move.w     [A5 + 0x1C10], D0
  69. 000000CC  4EBA 4190                jsr        [PC + 0x4190 /* 0000425E */]
  70. 000000D0  4FEF 0016                lea.l      A7, [A7 + 0x16]
  71. label000000D4:
  72. 000000D4  584F                     addq.w     A7, 4
  73. 000000D6  4E75                     rts
  74. 000000D8  48E7 0030                movem.l    -[A7], A2,A3
  75. 000000DC  4FEF FEEA                lea.l      A7, [A7 - 0x116]
  76. 000000E0  266F 0122                movea.l    A3, [A7 + 0x122]
  77. 000000E4  2453                     movea.l    A2, [A3]
  78. 000000E6  4AAA 0014                tst.l      [A2 + 0x14]
  79. 000000EA  6624                     bne        +0x26 /* 00000110 */
  80. 000000EC  4857                     pea.l      [A7]
  81. 000000EE  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  82. 000000F2  2F0A                     move.l     -[A7], A2
  83. 000000F4  4EAD B248                jsr        [A5 - 0x4DB8]
  84. 000000F8  3B40 1C10                move.w     [A5 + 0x1C10], D0
  85. 000000FC  4A40                     tst.w      D0
  86. 000000FE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  87. 00000102  660C                     bne        +0xE /* 00000110 */
  88. 00000104  4857                     pea.l      [A7]
  89. 00000106  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  90. 0000010A  4EBA FF82                jsr        [PC - 0x7E /* 0000008E */]
  91. 0000010E  504F                     addq.w     A7, 8
  92. label00000110:
  93. 00000110  4FEF 0116                lea.l      A7, [A7 + 0x116]
  94. 00000114  4CDF 0C00                movem.l    A2,A3, [A7]+
  95. 00000118  4E75                     rts
  96. fn0000011A:
  97. 0000011A  48E7 0030                movem.l    -[A7], A2,A3
  98. 0000011E  554F                     subq.w     A7, 2
  99. 00000120  266F 001A                movea.l    A3, [A7 + 0x1A]
  100. 00000124  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  101. 00000128  4EAD B9E8                jsr        [A5 - 0x4618]
  102. 0000012C  4A00                     tst.b      D0
  103. 0000012E  584F                     addq.w     A7, 4
  104. 00000130  6766                     beq        +0x68 /* 00000198 */
  105. 00000132  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  106. 00000136  4EAD B5F8                jsr        [A5 - 0x4A08]
  107. 0000013A  2448                     movea.l    A2, A0
  108. 0000013C  156F 0013 000E           move.b     [A2 + 0xE], [A7 + 0x13]
  109. 00000142  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  110. 00000146  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  111. 0000014A  3F2F 0020                move.w     -[A7], [A7 + 0x20]
  112. 0000014E  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  113. 00000152  4EAD BDF8                jsr        [A5 - 0x4208]
  114. 00000156  3F40 0012                move.w     [A7 + 0x12], D0
  115. 0000015A  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  116. 0000015E  4EAD B5F8                jsr        [A5 - 0x4A08]
  117. 00000162  2448                     movea.l    A2, A0
  118. 00000164  4A2A 000E                tst.b      [A2 + 0xE]
  119. 00000168  4FEF 0016                lea.l      A7, [A7 + 0x16]
  120. 0000016C  672A                     beq        +0x2C /* 00000198 */
  121. 0000016E  3F3C 0004                move.w     -[A7], 0x4
  122. 00000172  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  123. 00000176  4EAD B648                jsr        [A5 - 0x49B8]
  124. 0000017A  200B                     move.l     D0, A3
  125. 0000017C  4A80                     tst.l      D0
  126. 0000017E  5C4F                     addq.w     A7, 6
  127. 00000180  6716                     beq        +0x18 /* 00000198 */
  128. 00000182  2F0B                     move.l     -[A7], A3
  129. 00000184  3F3C 0001                move.w     -[A7], 0x1
  130. 00000188  2F0A                     move.l     -[A7], A2
  131. 0000018A  4EAD B278                jsr        [A5 - 0x4D88]
  132. 0000018E  2F0B                     move.l     -[A7], A3
  133. 00000190  4EAD C200                jsr        [A5 - 0x3E00]
  134. 00000194  4FEF 000E                lea.l      A7, [A7 + 0xE]
  135. label00000198:
  136. 00000198  544F                     addq.w     A7, 2
  137. 0000019A  4CDF 0C00                movem.l    A2,A3, [A7]+
  138. 0000019E  4E75                     rts
  139. 000001A0  2F0B                     move.l     -[A7], A3
  140. 000001A2  206F 0008                movea.l    A0, [A7 + 0x8]
  141. 000001A6  2668 0014                movea.l    A3, [A0 + 0x14]
  142. 000001AA  2253                     movea.l    A1, [A3]
  143. 000001AC  2649                     movea.l    A3, A1
  144. 000001AE  508B                     addq.l     A3, 8
  145. 000001B0  377C FFFF 0002           move.w     [A3 + 0x2], 0xFFFF
  146. 000001B6  377C FFFF 0004           move.w     [A3 + 0x4], 0xFFFF
  147. 000001BC  377C FFFF 0006           move.w     [A3 + 0x6], 0xFFFF
  148. 000001C2  3429 0006                move.w     D2, [A1 + 0x6]
  149. 000001C6  3642                     movea.w    A3, D2
  150. 000001C8  200B                     move.l     D0, A3
  151. 000001CA  E788                     lsl        D0, 3
  152. 000001CC  2649                     movea.l    A3, A1
  153. 000001CE  D7C0                     add.l      A3, D0
  154. 000001D0  508B                     addq.l     A3, 8
  155. 000001D2  426B 0002                clr.w      [A3 + 0x2]
  156. 000001D6  426B 0004                clr.w      [A3 + 0x4]
  157. 000001DA  426B 0006                clr.w      [A3 + 0x6]
  158. 000001DE  4269 0004                clr.w      [A1 + 0x4]
  159. 000001E2  7200                     moveq.l    D1, 0x00
  160. 000001E4  6006                     bra        +0x8 /* 000001EC */
  161. label000001E6:
  162. 000001E6  3381 1608                move.w     [A1 + D1.w * 8 + 0x8], D1
  163. 000001EA  5241                     addq.w     D1, 1
  164. label000001EC:
  165. 000001EC  B242                     cmp.w      D1, D2
  166. 000001EE  6FF6                     ble        -0x8 /* 000001E6 */
  167. 000001F0  265F                     movea.l    A3, [A7]+
  168. 000001F2  4E75                     rts
  169. 000001F4  2F0A                     move.l     -[A7], A2
  170. 000001F6  246F 0008                movea.l    A2, [A7 + 0x8]
  171. 000001FA  4A2A 0001                tst.b      [A2 + 0x1]
  172. 000001FE  6626                     bne        +0x28 /* 00000226 */
  173. 00000200  4A12                     tst.b      [A2]
  174. 00000202  6714                     beq        +0x16 /* 00000218 */
  175. 00000204  4AAA 0006                tst.l      [A2 + 0x6]
  176. 00000208  671C                     beq        +0x1E /* 00000226 */
  177. 0000020A  2F2A 000E                move.l     -[A7], [A2 + 0xE]
  178. 0000020E  203C 0004 0002           move.l     D0, 0x40002
  179. 00000214  AB1D                     syscall    QDExtensions
  180. 00000216  600E                     bra        +0x10 /* 00000226 */
  181. label00000218:
  182. 00000218  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  183. 0000021C  486A 0012                pea.l      [A2 + 0x12]
  184. 00000220  4EBA 3B74                jsr        [PC + 0x3B74 /* 00003D96 */]
  185. 00000224  504F                     addq.w     A7, 8
  186. label00000226:
  187. 00000226  245F                     movea.l    A2, [A7]+
  188. 00000228  4E75                     rts
  189. 0000022A  2F0A                     move.l     -[A7], A2
  190. 0000022C  246F 0008                movea.l    A2, [A7 + 0x8]
  191. 00000230  4A2A 0001                tst.b      [A2 + 0x1]
  192. 00000234  6636                     bne        +0x38 /* 0000026C */
  193. 00000236  4A12                     tst.b      [A2]
  194. 00000238  6724                     beq        +0x26 /* 0000025E */
  195. 0000023A  4AAA 0006                tst.l      [A2 + 0x6]
  196. 0000023E  672C                     beq        +0x2E /* 0000026C */
  197. 00000240  2F2A 000E                move.l     -[A7], [A2 + 0xE]
  198. 00000244  203C 0004 000C           move.l     D0, 0x4000C
  199. 0000024A  AB1D                     syscall    QDExtensions
  200. 0000024C  554F                     subq.w     A7, 2
  201. 0000024E  2F2A 000E                move.l     -[A7], [A2 + 0xE]
  202. 00000252  203C 0004 0001           move.l     D0, 0x40001
  203. 00000258  AB1D                     syscall    QDExtensions
  204. 0000025A  101F                     move.b     D0, [A7]+
  205. 0000025C  600E                     bra        +0x10 /* 0000026C */
  206. label0000025E:
  207. 0000025E  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  208. 00000262  486A 0012                pea.l      [A2 + 0x12]
  209. 00000266  4EBA 3B78                jsr        [PC + 0x3B78 /* 00003DE0 */]
  210. 0000026A  504F                     addq.w     A7, 8
  211. label0000026C:
  212. 0000026C  245F                     movea.l    A2, [A7]+
  213. 0000026E  4E75                     rts
  214. fn00000270:
  215. 00000270  2F0A                     move.l     -[A7], A2
  216. 00000272  246F 0008                movea.l    A2, [A7 + 0x8]
  217. 00000276  4A2A 0001                tst.b      [A2 + 0x1]
  218. 0000027A  670E                     beq        +0x10 /* 0000028A */
  219. 0000027C  4AAA 0006                tst.l      [A2 + 0x6]
  220. 00000280  57C0                     seq        D0
  221. 00000282  4400                     neg.b      D0
  222. 00000284  49C0                     lea.l      A4, D0
  223. 00000286  245F                     movea.l    A2, [A7]+
  224. 00000288  4E75                     rts
  225. label0000028A:
  226. 0000028A  4A12                     tst.b      [A2]
  227. 0000028C  670E                     beq        +0x10 /* 0000029C */
  228. 0000028E  4AAA 0006                tst.l      [A2 + 0x6]
  229. 00000292  57C0                     seq        D0
  230. 00000294  4400                     neg.b      D0
  231. 00000296  49C0                     lea.l      A4, D0
  232. 00000298  245F                     movea.l    A2, [A7]+
  233. 0000029A  4E75                     rts
  234. label0000029C:
  235. 0000029C  486A 0012                pea.l      [A2 + 0x12]
  236. 000002A0  4EBA 3B30                jsr        [PC + 0x3B30 /* 00003DD2 */]
  237. 000002A4  4A00                     tst.b      D0
  238. 000002A6  57C0                     seq        D0
  239. 000002A8  4400                     neg.b      D0
  240. 000002AA  49C0                     lea.l      A4, D0
  241. 000002AC  584F                     addq.w     A7, 4
  242. 000002AE  245F                     movea.l    A2, [A7]+
  243. 000002B0  4E75                     rts
  244. fn000002B2:
  245. 000002B2  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  246. 000002B6  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  247. 000002BA  4EBA 0016                jsr        [PC + 0x16 /* 000002D2 */]
  248. 000002BE  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  249. 000002C2  A87B                     syscall    ClipRect
  250. 000002C4  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  251. 000002C8  4EBA 29C8                jsr        [PC + 0x29C8 /* 00002C92 */]
  252. 000002CC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  253. 000002D0  4E75                     rts
  254. fn000002D2:
  255. 000002D2  48E7 0030                movem.l    -[A7], A2,A3
  256. 000002D6  266F 000C                movea.l    A3, [A7 + 0xC]
  257. 000002DA  246F 0010                movea.l    A2, [A7 + 0x10]
  258. 000002DE  4A13                     tst.b      [A3]
  259. 000002E0  671E                     beq        +0x20 /* 00000300 */
  260. 000002E2  2F0A                     move.l     -[A7], A2
  261. 000002E4  486A 0004                pea.l      [A2 + 0x4]
  262. 000002E8  203C 0008 0005           move.l     D0, 0x80005
  263. 000002EE  AB1D                     syscall    QDExtensions
  264. 000002F0  2F2B 0006                move.l     -[A7], [A3 + 0x6]
  265. 000002F4  42A7                     clr.l      -[A7]
  266. 000002F6  203C 0008 0006           move.l     D0, 0x80006
  267. 000002FC  AB1D                     syscall    QDExtensions
  268. 000002FE  6020                     bra        +0x22 /* 00000320 */
  269. label00000300:
  270. 00000300  2F0A                     move.l     -[A7], A2
  271. 00000302  A874                     syscall    GetPort
  272. 00000304  2F2B 0006                move.l     -[A7], [A3 + 0x6]
  273. 00000308  A873                     syscall    SetPort
  274. 0000030A  4A2D 20A8                tst.b      [A5 + 0x20A8]
  275. 0000030E  6710                     beq        +0x12 /* 00000320 */
  276. 00000310  594F                     subq.w     A7, 4
  277. 00000312  AA32                     syscall    GetGDevice
  278. 00000314  205F                     movea.l    A0, [A7]+
  279. 00000316  2548 0004                move.l     [A2 + 0x4], A0
  280. 0000031A  2F2D 1FFC                move.l     -[A7], [A5 + 0x1FFC]
  281. 0000031E  AA31                     syscall    SetGDevice
  282. label00000320:
  283. 00000320  4CDF 0C00                movem.l    A2,A3, [A7]+
  284. 00000324  4E75                     rts
  285. fn00000326:
  286. 00000326  2F0A                     move.l     -[A7], A2
  287. 00000328  246F 000C                movea.l    A2, [A7 + 0xC]
  288. 0000032C  4EAD D7A0                jsr        [A5 - 0x2860]
  289. 00000330  4868 0010                pea.l      [A0 + 0x10]
  290. 00000334  A87B                     syscall    ClipRect
  291. 00000336  206F 0008                movea.l    A0, [A7 + 0x8]
  292. 0000033A  4A10                     tst.b      [A0]
  293. 0000033C  6710                     beq        +0x12 /* 0000034E */
  294. 0000033E  2F12                     move.l     -[A7], [A2]
  295. 00000340  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  296. 00000344  203C 0008 0006           move.l     D0, 0x80006
  297. 0000034A  AB1D                     syscall    QDExtensions
  298. 0000034C  6010                     bra        +0x12 /* 0000035E */
  299. label0000034E:
  300. 0000034E  2F12                     move.l     -[A7], [A2]
  301. 00000350  A873                     syscall    SetPort
  302. 00000352  4A2D 20A8                tst.b      [A5 + 0x20A8]
  303. 00000356  6706                     beq        +0x8 /* 0000035E */
  304. 00000358  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  305. 0000035C  AA31                     syscall    SetGDevice
  306. label0000035E:
  307. 0000035E  245F                     movea.l    A2, [A7]+
  308. 00000360  4E75                     rts
  309. 00000362  48E7 0038                movem.l    -[A7], A2,A3,A4
  310. 00000366  554F                     subq.w     A7, 2
  311. 00000368  246F 0012                movea.l    A2, [A7 + 0x12]
  312. 0000036C  266F 0016                movea.l    A3, [A7 + 0x16]
  313. 00000370  286F 001A                movea.l    A4, [A7 + 0x1A]
  314. 00000374  4A2A 0001                tst.b      [A2 + 0x1]
  315. 00000378  6716                     beq        +0x18 /* 00000390 */
  316. 0000037A  206A 0006                movea.l    A0, [A2 + 0x6]
  317. 0000037E  4868 0002                pea.l      [A0 + 0x2]
  318. 00000382  2F0C                     move.l     -[A7], A4
  319. 00000384  2F0B                     move.l     -[A7], A3
  320. 00000386  2F0B                     move.l     -[A7], A3
  321. 00000388  4267                     clr.w      -[A7]
  322. 0000038A  42A7                     clr.l      -[A7]
  323. 0000038C  A8EC                     syscall    CopyBits
  324. 0000038E  604C                     bra        +0x4E /* 000003DC */
  325. label00000390:
  326. 00000390  4A12                     tst.b      [A2]
  327. 00000392  6714                     beq        +0x16 /* 000003A8 */
  328. 00000394  206A 000E                movea.l    A0, [A2 + 0xE]
  329. 00000398  2F10                     move.l     -[A7], [A0]
  330. 0000039A  2F0C                     move.l     -[A7], A4
  331. 0000039C  2F0B                     move.l     -[A7], A3
  332. 0000039E  2F0B                     move.l     -[A7], A3
  333. 000003A0  4267                     clr.w      -[A7]
  334. 000003A2  42A7                     clr.l      -[A7]
  335. 000003A4  A8EC                     syscall    CopyBits
  336. 000003A6  6034                     bra        +0x36 /* 000003DC */
  337. label000003A8:
  338. 000003A8  486F 0001                pea.l      [A7 + 0x1]
  339. 000003AC  486A 0012                pea.l      [A2 + 0x12]
  340. 000003B0  4EBA 3BC6                jsr        [PC + 0x3BC6 /* 00003F78 */]
  341. 000003B4  486A 0012                pea.l      [A2 + 0x12]
  342. 000003B8  4EBA 3BFC                jsr        [PC + 0x3BFC /* 00003FB6 */]
  343. 000003BC  584F                     addq.w     A7, 4
  344. 000003BE  2F08                     move.l     -[A7], A0
  345. 000003C0  2F0C                     move.l     -[A7], A4
  346. 000003C2  2F0B                     move.l     -[A7], A3
  347. 000003C4  2F0B                     move.l     -[A7], A3
  348. 000003C6  4267                     clr.w      -[A7]
  349. 000003C8  42A7                     clr.l      -[A7]
  350. 000003CA  A8EC                     syscall    CopyBits
  351. 000003CC  1F2F 0009                move.b     -[A7], [A7 + 0x9]
  352. 000003D0  486A 0012                pea.l      [A2 + 0x12]
  353. 000003D4  4EBA 3BC6                jsr        [PC + 0x3BC6 /* 00003F9C */]
  354. 000003D8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  355. label000003DC:
  356. 000003DC  544F                     addq.w     A7, 2
  357. 000003DE  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  358. 000003E2  4E75                     rts
  359. fn000003E4:
  360. 000003E4  48E7 0018                movem.l    -[A7], A3,A4
  361. 000003E8  266F 000C                movea.l    A3, [A7 + 0xC]
  362. 000003EC  286F 0010                movea.l    A4, [A7 + 0x10]
  363. 000003F0  4A13                     tst.b      [A3]
  364. 000003F2  6708                     beq        +0xA /* 000003FC */
  365. 000003F4  206B 000E                movea.l    A0, [A3 + 0xE]
  366. 000003F8  2250                     movea.l    A1, [A0]
  367. 000003FA  6014                     bra        +0x16 /* 00000410 */
  368. label000003FC:
  369. 000003FC  4A6B 001A                tst.w      [A3 + 0x1A]
  370. 00000400  6C08                     bge        +0xA /* 0000040A */
  371. 00000402  206B 0016                movea.l    A0, [A3 + 0x16]
  372. 00000406  2250                     movea.l    A1, [A0]
  373. 00000408  6006                     bra        +0x8 /* 00000410 */
  374. label0000040A:
  375. 0000040A  4CDF 1800                movem.l    A3,A4, [A7]+
  376. 0000040E  4E75                     rts
  377. label00000410:
  378. 00000410  0C69 0008 0020           cmpi.w     [A1 + 0x20], 0x8
  379. 00000416  6E30                     bgt        +0x32 /* 00000448 */
  380. 00000418  0C69 0001 0020           cmpi.w     [A1 + 0x20], 0x1
  381. 0000041E  6F28                     ble        +0x2A /* 00000448 */
  382. 00000420  2054                     movea.l    A0, [A4]
  383. 00000422  3029 0020                move.w     D0, [A1 + 0x20]
  384. 00000426  B068 0020                cmp.w      D0, [A0 + 0x20]
  385. 0000042A  661C                     bne        +0x1E /* 00000448 */
  386. 0000042C  2054                     movea.l    A0, [A4]
  387. 0000042E  2068 002A                movea.l    A0, [A0 + 0x2A]
  388. 00000432  2050                     movea.l    A0, [A0]
  389. 00000434  2210                     move.l     D1, [A0]
  390. 00000436  2069 002A                movea.l    A0, [A1 + 0x2A]
  391. 0000043A  2050                     movea.l    A0, [A0]
  392. 0000043C  B290                     cmp.l      D1, [A0]
  393. 0000043E  6708                     beq        +0xA /* 00000448 */
  394. 00000440  2069 002A                movea.l    A0, [A1 + 0x2A]
  395. 00000444  2050                     movea.l    A0, [A0]
  396. 00000446  2081                     move.l     [A0], D1
  397. label00000448:
  398. 00000448  4CDF 1800                movem.l    A3,A4, [A7]+
  399. 0000044C  4E75                     rts
  400. 0000044E  2F0A                     move.l     -[A7], A2
  401. 00000450  246F 0008                movea.l    A2, [A7 + 0x8]
  402. 00000454  4A12                     tst.b      [A2]
  403. 00000456  670E                     beq        +0x10 /* 00000466 */
  404. 00000458  206A 000E                movea.l    A0, [A2 + 0xE]
  405. 0000045C  2050                     movea.l    A0, [A0]
  406. 0000045E  3028 0020                move.w     D0, [A0 + 0x20]
  407. 00000462  245F                     movea.l    A2, [A7]+
  408. 00000464  4E75                     rts
  409. label00000466:
  410. 00000466  486A 0012                pea.l      [A2 + 0x12]
  411. 0000046A  4EBA 39B6                jsr        [PC + 0x39B6 /* 00003E22 */]
  412. 0000046E  584F                     addq.w     A7, 4
  413. 00000470  245F                     movea.l    A2, [A7]+
  414. 00000472  4E75                     rts
  415. fn00000474:
  416. 00000474  2F0A                     move.l     -[A7], A2
  417. 00000476  246F 0008                movea.l    A2, [A7 + 0x8]
  418. 0000047A  4A12                     tst.b      [A2]
  419. 0000047C  670A                     beq        +0xC /* 00000488 */
  420. 0000047E  206A 000E                movea.l    A0, [A2 + 0xE]
  421. 00000482  2050                     movea.l    A0, [A0]
  422. 00000484  245F                     movea.l    A2, [A7]+
  423. 00000486  4E75                     rts
  424. label00000488:
  425. 00000488  486A 0012                pea.l      [A2 + 0x12]
  426. 0000048C  4EBA 3B28                jsr        [PC + 0x3B28 /* 00003FB6 */]
  427. 00000490  584F                     addq.w     A7, 4
  428. 00000492  245F                     movea.l    A2, [A7]+
  429. 00000494  4E75                     rts
  430. 00000496  206F 0004                movea.l    A0, [A7 + 0x4]
  431. 0000049A  4A10                     tst.b      [A0]
  432. 0000049C  6706                     beq        +0x8 /* 000004A4 */
  433. 0000049E  2068 000E                movea.l    A0, [A0 + 0xE]
  434. 000004A2  4E75                     rts
  435. label000004A4:
  436. 000004A4  2068 0016                movea.l    A0, [A0 + 0x16]
  437. 000004A8  4E75                     rts
  438. 000004AA  2F0A                     move.l     -[A7], A2
  439. 000004AC  246F 0008                movea.l    A2, [A7 + 0x8]
  440. 000004B0  4A12                     tst.b      [A2]
  441. 000004B2  6708                     beq        +0xA /* 000004BC */
  442. 000004B4  206A 000E                movea.l    A0, [A2 + 0xE]
  443. 000004B8  A029                     syscall    HLock
  444. 000004BA  6006                     bra        +0x8 /* 000004C2 */
  445. label000004BC:
  446. 000004BC  206A 0016                movea.l    A0, [A2 + 0x16]
  447. 000004C0  A029                     syscall    HLock
  448. label000004C2:
  449. 000004C2  245F                     movea.l    A2, [A7]+
  450. 000004C4  4E75                     rts
  451. 000004C6  2F0A                     move.l     -[A7], A2
  452. 000004C8  246F 0008                movea.l    A2, [A7 + 0x8]
  453. 000004CC  4A12                     tst.b      [A2]
  454. 000004CE  6708                     beq        +0xA /* 000004D8 */
  455. 000004D0  206A 000E                movea.l    A0, [A2 + 0xE]
  456. 000004D4  A02A                     syscall    HUnlock
  457. 000004D6  6006                     bra        +0x8 /* 000004DE */
  458. label000004D8:
  459. 000004D8  206A 0016                movea.l    A0, [A2 + 0x16]
  460. 000004DC  A02A                     syscall    HUnlock
  461. label000004DE:
  462. 000004DE  245F                     movea.l    A2, [A7]+
  463. 000004E0  4E75                     rts
  464. fn000004E2:
  465. 000004E2  2F0A                     move.l     -[A7], A2
  466. 000004E4  246F 0008                movea.l    A2, [A7 + 0x8]
  467. 000004E8  4A2A 0001                tst.b      [A2 + 0x1]
  468. 000004EC  6662                     bne        +0x64 /* 00000550 */
  469. 000004EE  4A12                     tst.b      [A2]
  470. 000004F0  672A                     beq        +0x2C /* 0000051C */
  471. 000004F2  4AAA 0006                tst.l      [A2 + 0x6]
  472. 000004F6  671A                     beq        +0x1C /* 00000512 */
  473. 000004F8  4878 0001                push.l     0x1
  474. 000004FC  2F2A 000A                move.l     -[A7], [A2 + 0xA]
  475. 00000500  4EAD D7E8                jsr        [A5 - 0x2818]
  476. 00000504  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  477. 00000508  203C 0004 0004           move.l     D0, 0x40004
  478. 0000050E  AB1D                     syscall    QDExtensions
  479. 00000510  504F                     addq.w     A7, 8
  480. label00000512:
  481. 00000512  42AA 0006                clr.l      [A2 + 0x6]
  482. 00000516  42AA 000A                clr.l      [A2 + 0xA]
  483. 0000051A  6034                     bra        +0x36 /* 00000550 */
  484. label0000051C:
  485. 0000051C  4AAA 0006                tst.l      [A2 + 0x6]
  486. 00000520  671C                     beq        +0x1E /* 0000053E */
  487. 00000522  4A2D 20A8                tst.b      [A5 + 0x20A8]
  488. 00000526  6710                     beq        +0x12 /* 00000538 */
  489. 00000528  206A 0006                movea.l    A0, [A2 + 0x6]
  490. 0000052C  42A8 0002                clr.l      [A0 + 0x2]
  491. 00000530  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  492. 00000534  A87D                     syscall    ClosePort
  493. 00000536  6006                     bra        +0x8 /* 0000053E */
  494. label00000538:
  495. 00000538  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  496. 0000053C  A87D                     syscall    ClosePort
  497. label0000053E:
  498. 0000053E  42AA 0006                clr.l      [A2 + 0x6]
  499. 00000542  42AA 000A                clr.l      [A2 + 0xA]
  500. 00000546  486A 0012                pea.l      [A2 + 0x12]
  501. 0000054A  4EBA 3A82                jsr        [PC + 0x3A82 /* 00003FCE */]
  502. 0000054E  584F                     addq.w     A7, 4
  503. label00000550:
  504. 00000550  245F                     movea.l    A2, [A7]+
  505. 00000552  4E75                     rts
  506. 00000554  2F0A                     move.l     -[A7], A2
  507. 00000556  246F 0008                movea.l    A2, [A7 + 0x8]
  508. 0000055A  42AA 000A                clr.l      [A2 + 0xA]
  509. 0000055E  4212                     clr.b      [A2]
  510. 00000560  422A 0001                clr.b      [A2 + 0x1]
  511. 00000564  42AA 0006                clr.l      [A2 + 0x6]
  512. 00000568  486A 0012                pea.l      [A2 + 0x12]
  513. 0000056C  4EBA 39F6                jsr        [PC + 0x39F6 /* 00003F64 */]
  514. 00000570  584F                     addq.w     A7, 4
  515. 00000572  245F                     movea.l    A2, [A7]+
  516. 00000574  4E75                     rts
  517. fn00000576:
  518. 00000576  2F0A                     move.l     -[A7], A2
  519. 00000578  246F 0008                movea.l    A2, [A7 + 0x8]
  520. 0000057C  204A                     movea.l    A0, A2
  521. 0000057E  41E8 0024                lea.l      A0, [A0 + 0x24]
  522. 00000582  2548 0006                move.l     [A2 + 0x6], A0
  523. 00000586  4A2D 20A8                tst.b      [A5 + 0x20A8]
  524. 0000058A  6716                     beq        +0x18 /* 000005A2 */
  525. 0000058C  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  526. 00000590  AA00                     syscall    OpenCPort
  527. 00000592  206A 0006                movea.l    A0, [A2 + 0x6]
  528. 00000596  4868 0002                pea.l      [A0 + 0x2]
  529. 0000059A  4EAD AF28                jsr        [A5 - 0x50D8]
  530. 0000059E  584F                     addq.w     A7, 4
  531. 000005A0  6006                     bra        +0x8 /* 000005A8 */
  532. label000005A2:
  533. 000005A2  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  534. 000005A6  A86F                     syscall    OpenPort
  535. label000005A8:
  536. 000005A8  206F 000C                movea.l    A0, [A7 + 0xC]
  537. 000005AC  226A 0006                movea.l    A1, [A2 + 0x6]
  538. 000005B0  2350 0010                move.l     [A1 + 0x10], [A0]
  539. 000005B4  2368 0004 0014           move.l     [A1 + 0x14], [A0 + 0x4]
  540. 000005BA  245F                     movea.l    A2, [A7]+
  541. 000005BC  4E75                     rts
  542. fn000005BE:
  543. 000005BE  2F03                     move.l     -[A7], D3
  544. 000005C0  4A2D 20A8                tst.b      [A5 + 0x20A8]
  545. 000005C4  6708                     beq        +0xA /* 000005CE */
  546. 000005C6  263C 0001 ADB0           move.l     D3, 0x1ADB0
  547. 000005CC  6006                     bra        +0x8 /* 000005D4 */
  548. label000005CE:
  549. 000005CE  263C 0000 4E20           move.l     D3, 0x4E20 /* 'N ' */
  550. label000005D4:
  551. 000005D4  A01C                     syscall    FreeMem
  552. 000005D6  B083                     cmp.l      D0, D3
  553. 000005D8  6C10                     bge        +0x12 /* 000005EA */
  554. 000005DA  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  555. 000005DE  4EBA FF02                jsr        [PC - 0xFE /* 000004E2 */]
  556. 000005E2  3B7C FF94 1C10           move.w     [A5 + 0x1C10], 0xFF94
  557. 000005E8  584F                     addq.w     A7, 4
  558. label000005EA:
  559. 000005EA  261F                     move.l     D3, [A7]+
  560. 000005EC  4E75                     rts
  561. fn000005EE:
  562. 000005EE  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  563. 000005F2  246F 0014                movea.l    A2, [A7 + 0x14]
  564. 000005F6  266F 0018                movea.l    A3, [A7 + 0x18]
  565. 000005FA  554F                     subq.w     A7, 2
  566. 000005FC  2F0B                     move.l     -[A7], A3
  567. 000005FE  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  568. 00000602  4EAD C5D8                jsr        [A5 - 0x3A28]
  569. 00000606  301F                     move.w     D0, [A7]+
  570. 00000608  48C0                     ext.l      D0
  571. 0000060A  2800                     move.l     D4, D0
  572. 0000060C  3013                     move.w     D0, [A3]
  573. 0000060E  48C0                     ext.l      D0
  574. 00000610  362B 0004                move.w     D3, [A3 + 0x4]
  575. 00000614  48C3                     ext.l      D3
  576. 00000616  9680                     sub.l      D3, D0
  577. 00000618  4C04 3800                movem.w    A3,A4,A5, D4
  578. 0000061C  4AAA 0006                tst.l      [A2 + 0x6]
  579. 00000620  662E                     bne        +0x30 /* 00000650 */
  580. 00000622  4227                     clr.b      -[A7]
  581. 00000624  4EAD D7D0                jsr        [A5 - 0x2830]
  582. 00000628  1800                     move.b     D4, D0
  583. 0000062A  486A 0006                pea.l      [A2 + 0x6]
  584. 0000062E  4267                     clr.w      -[A7]
  585. 00000630  2F0B                     move.l     -[A7], A3
  586. 00000632  42A7                     clr.l      -[A7]
  587. 00000634  42A7                     clr.l      -[A7]
  588. 00000636  4878 0002                push.l     0x2
  589. 0000063A  203C 0016 0000           move.l     D0, 0x160000
  590. 00000640  AB1D                     syscall    QDExtensions
  591. 00000642  301F                     move.w     D0, [A7]+
  592. 00000644  3B40 1C10                move.w     [A5 + 0x1C10], D0
  593. 00000648  1F04                     move.b     -[A7], D4
  594. 0000064A  4EAD D7D0                jsr        [A5 - 0x2830]
  595. 0000064E  544F                     addq.w     A7, 2
  596. label00000650:
  597. 00000650  4A6D 1C10                tst.w      [A5 + 0x1C10]
  598. 00000654  661A                     bne        +0x1C /* 00000670 */
  599. 00000656  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  600. 0000065A  4EAD BBC8                jsr        [A5 - 0x4438]
  601. 0000065E  2548 000E                move.l     [A2 + 0xE], A0
  602. 00000662  4878 0001                push.l     0x1
  603. 00000666  2F03                     move.l     -[A7], D3
  604. 00000668  4EAD D818                jsr        [A5 - 0x27E8]
  605. 0000066C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  606. label00000670:
  607. 00000670  4A6D 1C10                tst.w      [A5 + 0x1C10]
  608. 00000674  6606                     bne        +0x8 /* 0000067C */
  609. 00000676  2543 000A                move.l     [A2 + 0xA], D3
  610. 0000067A  6008                     bra        +0xA /* 00000684 */
  611. label0000067C:
  612. 0000067C  42AA 000A                clr.l      [A2 + 0xA]
  613. 00000680  42AA 0006                clr.l      [A2 + 0x6]
  614. label00000684:
  615. 00000684  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  616. 00000688  4E75                     rts
  617. 0000068A  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  618. 0000068E  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  619. 00000692  246F 0028                movea.l    A2, [A7 + 0x28]
  620. 00000696  2C6F 002C                movea.l    A6, [A7 + 0x2C]
  621. 0000069A  2F56 0004                move.l     [A7 + 0x4], [A6]
  622. 0000069E  2F6E 0004 0008           move.l     [A7 + 0x8], [A6 + 0x4]
  623. 000006A4  4857                     pea.l      [A7]
  624. 000006A6  A874                     syscall    GetPort
  625. 000006A8  3F3C FFFF                move.w     -[A7], 0xFFFF
  626. 000006AC  4EAD AF30                jsr        [A5 - 0x50D0]
  627. 000006B0  4A2D 20A8                tst.b      [A5 + 0x20A8]
  628. 000006B4  544F                     addq.w     A7, 2
  629. 000006B6  670E                     beq        +0x10 /* 000006C6 */
  630. 000006B8  594F                     subq.w     A7, 4
  631. 000006BA  AA32                     syscall    GetGDevice
  632. 000006BC  205F                     movea.l    A0, [A7]+
  633. 000006BE  2848                     movea.l    A4, A0
  634. 000006C0  2F2D 1FFC                move.l     -[A7], [A5 + 0x1FFC]
  635. 000006C4  AA31                     syscall    SetGDevice
  636. label000006C6:
  637. 000006C6  426D 1C10                clr.w      [A5 + 0x1C10]
  638. 000006CA  4A2D 20A8                tst.b      [A5 + 0x20A8]
  639. 000006CE  6712                     beq        +0x14 /* 000006E2 */
  640. 000006D0  206D 1FFC                movea.l    A0, [A5 + 0x1FFC]
  641. 000006D4  2050                     movea.l    A0, [A0]
  642. 000006D6  2068 0016                movea.l    A0, [A0 + 0x16]
  643. 000006DA  2050                     movea.l    A0, [A0]
  644. 000006DC  3628 0020                move.w     D3, [A0 + 0x20]
  645. 000006E0  6002                     bra        +0x4 /* 000006E4 */
  646. label000006E2:
  647. 000006E2  7601                     moveq.l    D3, 0x01
  648. label000006E4:
  649. 000006E4  4227                     clr.b      -[A7]
  650. 000006E6  4EAD D7D0                jsr        [A5 - 0x2830]
  651. 000006EA  1800                     move.b     D4, D0
  652. 000006EC  2F0A                     move.l     -[A7], A2
  653. 000006EE  4EBA FDF2                jsr        [PC - 0x20E /* 000004E2 */]
  654. 000006F2  4A2A 0001                tst.b      [A2 + 0x1]
  655. 000006F6  5C4F                     addq.w     A7, 6
  656. 000006F8  6600 00B8                bne        +0xBA /* 000007B2 */
  657. 000006FC  4A12                     tst.b      [A2]
  658. 000006FE  674E                     beq        +0x50 /* 0000074E */
  659. 00000700  3F03                     move.w     -[A7], D3
  660. 00000702  486F 0006                pea.l      [A7 + 0x6]
  661. 00000706  2F0A                     move.l     -[A7], A2
  662. 00000708  4EBA FEE4                jsr        [PC - 0x11C /* 000005EE */]
  663. 0000070C  4A6D 1C10                tst.w      [A5 + 0x1C10]
  664. 00000710  4FEF 000A                lea.l      A7, [A7 + 0xA]
  665. 00000714  6600 009C                bne        +0x9E /* 000007B2 */
  666. 00000718  266A 0006                movea.l    A3, [A2 + 0x6]
  667. 0000071C  508B                     addq.l     A3, 8
  668. 0000071E  508B                     addq.l     A3, 8
  669. 00000720  2F0B                     move.l     -[A7], A3
  670. 00000722  206A 0006                movea.l    A0, [A2 + 0x6]
  671. 00000726  3028 0012                move.w     D0, [A0 + 0x12]
  672. 0000072A  48C0                     ext.l      D0
  673. 0000072C  4480                     neg.l      D0
  674. 0000072E  3F00                     move.w     -[A7], D0
  675. 00000730  3013                     move.w     D0, [A3]
  676. 00000732  48C0                     ext.l      D0
  677. 00000734  4480                     neg.l      D0
  678. 00000736  3F00                     move.w     -[A7], D0
  679. 00000738  A8A8                     syscall    OffsetRect
  680. 0000073A  206A 0006                movea.l    A0, [A2 + 0x6]
  681. 0000073E  4868 0010                pea.l      [A0 + 0x10]
  682. 00000742  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  683. 00000746  4EAD BB80                jsr        [A5 - 0x4480]
  684. 0000074A  504F                     addq.w     A7, 8
  685. 0000074C  6064                     bra        +0x66 /* 000007B2 */
  686. label0000074E:
  687. 0000074E  486F 0004                pea.l      [A7 + 0x4]
  688. 00000752  302F 000A                move.w     D0, [A7 + 0xA]
  689. 00000756  48C0                     ext.l      D0
  690. 00000758  4480                     neg.l      D0
  691. 0000075A  3F00                     move.w     -[A7], D0
  692. 0000075C  302F 000A                move.w     D0, [A7 + 0xA]
  693. 00000760  48C0                     ext.l      D0
  694. 00000762  4480                     neg.l      D0
  695. 00000764  3F00                     move.w     -[A7], D0
  696. 00000766  A8A8                     syscall    OffsetRect
  697. 00000768  3F03                     move.w     -[A7], D3
  698. 0000076A  486F 0006                pea.l      [A7 + 0x6]
  699. 0000076E  486A 0012                pea.l      [A2 + 0x12]
  700. 00000772  4EBA 36C8                jsr        [PC + 0x36C8 /* 00003E3C */]
  701. 00000776  3B40 1C10                move.w     [A5 + 0x1C10], D0
  702. 0000077A  4A40                     tst.w      D0
  703. 0000077C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  704. 00000780  6630                     bne        +0x32 /* 000007B2 */
  705. 00000782  486F 0004                pea.l      [A7 + 0x4]
  706. 00000786  2F0A                     move.l     -[A7], A2
  707. 00000788  4EBA FDEC                jsr        [PC - 0x214 /* 00000576 */]
  708. 0000078C  206A 0006                movea.l    A0, [A2 + 0x6]
  709. 00000790  4868 0010                pea.l      [A0 + 0x10]
  710. 00000794  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  711. 00000798  4EAD BB80                jsr        [A5 - 0x4480]
  712. 0000079C  42A7                     clr.l      -[A7]
  713. 0000079E  486A 0012                pea.l      [A2 + 0x12]
  714. 000007A2  4EBA 363C                jsr        [PC + 0x363C /* 00003DE0 */]
  715. 000007A6  486A 0012                pea.l      [A2 + 0x12]
  716. 000007AA  4EBA 379A                jsr        [PC + 0x379A /* 00003F46 */]
  717. 000007AE  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  718. label000007B2:
  719. 000007B2  4A6D 1C10                tst.w      [A5 + 0x1C10]
  720. 000007B6  6608                     bne        +0xA /* 000007C0 */
  721. 000007B8  2F0A                     move.l     -[A7], A2
  722. 000007BA  4EBA FE02                jsr        [PC - 0x1FE /* 000005BE */]
  723. 000007BE  584F                     addq.w     A7, 4
  724. label000007C0:
  725. 000007C0  0C43 0001                cmpi.w     D3, 0x1
  726. 000007C4  56C0                     sne        D0
  727. 000007C6  4400                     neg.b      D0
  728. 000007C8  49C0                     lea.l      A4, D0
  729. 000007CA  1B40 1C04                move.b     [A5 + 0x1C04], D0
  730. 000007CE  3F3C FFFF                move.w     -[A7], 0xFFFF
  731. 000007D2  4EAD AF38                jsr        [A5 - 0x50C8]
  732. 000007D6  1F04                     move.b     -[A7], D4
  733. 000007D8  4EAD D7D0                jsr        [A5 - 0x2830]
  734. 000007DC  4A2D 20A8                tst.b      [A5 + 0x20A8]
  735. 000007E0  584F                     addq.w     A7, 4
  736. 000007E2  6704                     beq        +0x6 /* 000007E8 */
  737. 000007E4  2F0C                     move.l     -[A7], A4
  738. 000007E6  AA31                     syscall    SetGDevice
  739. label000007E8:
  740. 000007E8  2F17                     move.l     -[A7], [A7]
  741. 000007EA  A873                     syscall    SetPort
  742. 000007EC  2556 0090                move.l     [A2 + 0x90], [A6]
  743. 000007F0  256E 0004 0094           move.l     [A2 + 0x94], [A6 + 0x4]
  744. 000007F6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  745. 000007FA  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  746. 000007FE  4E75                     rts
  747. fn00000800:
  748. 00000800  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  749. 00000804  4FEF FFC6                lea.l      A7, [A7 - 0x3A]
  750. 00000808  362F 005A                move.w     D3, [A7 + 0x5A]
  751. 0000080C  286F 005C                movea.l    A4, [A7 + 0x5C]
  752. 00000810  3003                     move.w     D0, D3
  753. 00000812  48C0                     ext.l      D0
  754. 00000814  5980                     subq.l     D0, 4
  755. 00000816  4C3C 0800 0000           movem.w    A3, 0x0
  756. 0000081C  0018 264C                ori.b      [A0]+, 0x4C /* 'L' */
  757. 00000820  D7C0                     add.l      A3, D0
  758. 00000822  47EB 0648                lea.l      A3, [A3 + 0x648]
  759. 00000826  2F6B 0002 0026           move.l     [A7 + 0x26], [A3 + 0x2]
  760. 0000082C  0C13 0010                cmpi.b     [A3], 0x10
  761. 00000830  6600 027C                bne        +0x27E /* 00000AAE */
  762. 00000834  4A6F 0026                tst.w      [A7 + 0x26]
  763. 00000838  6F00 0274                ble        +0x276 /* 00000AAE */
  764. 0000083C  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  765. 00000840  2050                     movea.l    A0, [A0]
  766. 00000842  2050                     movea.l    A0, [A0]
  767. 00000844  302F 0026                move.w     D0, [A7 + 0x26]
  768. 00000848  B068 000A                cmp.w      D0, [A0 + 0xA]
  769. 0000084C  6E00 0260                bgt        +0x262 /* 00000AAE */
  770. 00000850  4A6F 0028                tst.w      [A7 + 0x28]
  771. 00000854  6F00 0258                ble        +0x25A /* 00000AAE */
  772. 00000858  302F 0026                move.w     D0, [A7 + 0x26]
  773. 0000085C  48C0                     ext.l      D0
  774. 0000085E  5380                     subq.l     D0, 1
  775. 00000860  4C3C 0800 0000           movem.w    A3, 0x0
  776. 00000866  0018 206D                ori.b      [A0]+, 0x6D /* 'm' */
  777. 0000086A  1C30 2050                move.b     D6, [A0 + D2.w + 0x50]
  778. 0000086E  2250                     movea.l    A1, [A0]
  779. 00000870  3031 0820                move.w     D0, [A1 + D0 + 0x20]
  780. 00000874  48C0                     ext.l      D0
  781. 00000876  5380                     subq.l     D0, 1
  782. 00000878  4C3C 0800 0000           movem.w    A3, 0x0
  783. 0000087E  0166                     bchg       -[A6], D0
  784. 00000880  206D 14A8                movea.l    A0, [A5 + 0x14A8]
  785. 00000884  2050                     movea.l    A0, [A0]
  786. 00000886  D1C0                     add.l      A0, D0
  787. 00000888  41E8 0014                lea.l      A0, [A0 + 0x14]
  788. 0000088C  302F 0028                move.w     D0, [A7 + 0x28]
  789. 00000890  B068 0160                cmp.w      D0, [A0 + 0x160]
  790. 00000894  6E00 0218                bgt        +0x21A /* 00000AAE */
  791. 00000898  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  792. 0000089C  4EAD B5F8                jsr        [A5 - 0x4A08]
  793. 000008A0  2448                     movea.l    A2, A0
  794. 000008A2  2008                     move.l     D0, A0
  795. 000008A4  4A80                     tst.l      D0
  796. 000008A6  584F                     addq.w     A7, 4
  797. 000008A8  6700 0204                beq        +0x206 /* 00000AAE */
  798. 000008AC  0C2A 0001 000E           cmpi.b     [A2 + 0xE], 0x1
  799. 000008B2  6600 01FA                bne        +0x1FC /* 00000AAE */
  800. 000008B6  4A2C 1700                tst.b      [A4 + 0x1700]
  801. 000008BA  6600 01F2                bne        +0x1F4 /* 00000AAE */
  802. 000008BE  302D 14A6                move.w     D0, [A5 + 0x14A6]
  803. 000008C2  48C0                     ext.l      D0
  804. 000008C4  7200                     moveq.l    D1, 0x00
  805. 000008C6  122B 000A                move.b     D1, [A3 + 0xA]
  806. 000008CA  B280                     cmp.l      D1, D0
  807. 000008CC  6D00 01E0                blt        +0x1E2 /* 00000AAE */
  808. 000008D0  4A2B 000B                tst.b      [A3 + 0xB]
  809. 000008D4  6600 01D8                bne        +0x1DA /* 00000AAE */
  810. 000008D8  4A2C 16FA                tst.b      [A4 + 0x16FA]
  811. 000008DC  6600 01D0                bne        +0x1D2 /* 00000AAE */
  812. 000008E0  4A6A 001C                tst.w      [A2 + 0x1C]
  813. 000008E4  6C00 01C8                bge        +0x1CA /* 00000AAE */
  814. 000008E8  206D 1FFC                movea.l    A0, [A5 + 0x1FFC]
  815. 000008EC  2050                     movea.l    A0, [A0]
  816. 000008EE  2068 0016                movea.l    A0, [A0 + 0x16]
  817. 000008F2  2050                     movea.l    A0, [A0]
  818. 000008F4  3028 0020                move.w     D0, [A0 + 0x20]
  819. 000008F8  48C0                     ext.l      D0
  820. 000008FA  7200                     moveq.l    D1, 0x00
  821. 000008FC  122A 0033                move.b     D1, [A2 + 0x33]
  822. 00000900  B280                     cmp.l      D1, D0
  823. 00000902  6600 01AA                bne        +0x1AC /* 00000AAE */
  824. 00000906  102A 0032                move.b     D0, [A2 + 0x32]
  825. 0000090A  7203                     moveq.l    D1, 0x03
  826. 0000090C  C081                     and.l      D0, D1
  827. 0000090E  6600 019E                bne        +0x1A0 /* 00000AAE */
  828. 00000912  102B 0016                move.b     D0, [A3 + 0x16]
  829. 00000916  7210                     moveq.l    D1, 0x10
  830. 00000918  C081                     and.l      D0, D1
  831. 0000091A  6600 0192                bne        +0x194 /* 00000AAE */
  832. 0000091E  102B 0001                move.b     D0, [A3 + 0x1]
  833. 00000922  723F                     moveq.l    D1, 0x3F
  834. 00000924  C081                     and.l      D0, D1
  835. 00000926  3800                     move.w     D4, D0
  836. 00000928  4A40                     tst.w      D0
  837. 0000092A  6708                     beq        +0xA /* 00000934 */
  838. 0000092C  0C44 0024                cmpi.w     D4, 0x24 /* '$' */
  839. 00000930  6600 017C                bne        +0x17E /* 00000AAE */
  840. label00000934:
  841. 00000934  206D 1FFC                movea.l    A0, [A5 + 0x1FFC]
  842. 00000938  2050                     movea.l    A0, [A0]
  843. 0000093A  2068 0016                movea.l    A0, [A0 + 0x16]
  844. 0000093E  2050                     movea.l    A0, [A0]
  845. 00000940  0C68 0008 0020           cmpi.w     [A0 + 0x20], 0x8
  846. 00000946  6D00 0166                blt        +0x168 /* 00000AAE */
  847. 0000094A  302A 000C                move.w     D0, [A2 + 0xC]
  848. 0000094E  0280 0000 0800           andi.l     D0, 0x800
  849. 00000954  4A80                     tst.l      D0
  850. 00000956  6700 0156                beq        +0x158 /* 00000AAE */
  851. 0000095A  206A 0018                movea.l    A0, [A2 + 0x18]
  852. 0000095E  2C50                     movea.l    A6, [A0]
  853. 00000960  302E 000A                move.w     D0, [A6 + 0xA]
  854. 00000964  B06E 0006                cmp.w      D0, [A6 + 0x6]
  855. 00000968  5EC0                     sgt        D0
  856. 0000096A  4400                     neg.b      D0
  857. 0000096C  49C0                     lea.l      A4, D0
  858. 0000096E  6700 013E                beq        +0x140 /* 00000AAE */
  859. 00000972  082B 0007 0001           btst.b     [A3 + 0x1], 0x7
  860. 00000978  6600 0134                bne        +0x136 /* 00000AAE */
  861. 0000097C  2F6E 0006 002A           move.l     [A7 + 0x2A], [A6 + 0x6]
  862. 00000982  2F6E 000A 002E           move.l     [A7 + 0x2E], [A6 + 0xA]
  863. 00000988  206A 0018                movea.l    A0, [A2 + 0x18]
  864. 0000098C  2650                     movea.l    A3, [A0]
  865. 0000098E  206D 2430                movea.l    A0, [A5 + 0x2430]
  866. 00000992  2068 001C                movea.l    A0, [A0 + 0x1C]
  867. 00000996  2050                     movea.l    A0, [A0]
  868. 00000998  2F68 0002 001E           move.l     [A7 + 0x1E], [A0 + 0x2]
  869. 0000099E  2F68 0006 0022           move.l     [A7 + 0x22], [A0 + 0x6]
  870. 000009A4  3003                     move.w     D0, D3
  871. 000009A6  48C0                     ext.l      D0
  872. 000009A8  5D80                     subq.l     D0, 6
  873. 000009AA  E788                     lsl        D0, 3
  874. 000009AC  204C                     movea.l    A0, A4
  875. 000009AE  D1C0                     add.l      A0, D0
  876. 000009B0  2F68 0AF8 0032           move.l     [A7 + 0x32], [A0 + 0xAF8]
  877. 000009B6  2F68 0AFC 0036           move.l     [A7 + 0x36], [A0 + 0xAFC]
  878. 000009BC  302A 000C                move.w     D0, [A2 + 0xC]
  879. 000009C0  0280 0000 0100           andi.l     D0, 0x100
  880. 000009C6  4A80                     tst.l      D0
  881. 000009C8  6604                     bne        +0x6 /* 000009CE */
  882. 000009CA  7A01                     moveq.l    D5, 0x01
  883. 000009CC  6002                     bra        +0x4 /* 000009D0 */
  884. label000009CE:
  885. 000009CE  7A00                     moveq.l    D5, 0x00
  886. label000009D0:
  887. 000009D0  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  888. 000009D4  2F0A                     move.l     -[A7], A2
  889. 000009D6  4EAD B300                jsr        [A5 - 0x4D00]
  890. 000009DA  206A 0014                movea.l    A0, [A2 + 0x14]
  891. 000009DE  2690                     move.l     [A3], [A0]
  892. 000009E0  302F 003A                move.w     D0, [A7 + 0x3A]
  893. 000009E4  48C0                     ext.l      D0
  894. 000009E6  322F 0026                move.w     D1, [A7 + 0x26]
  895. 000009EA  48C1                     ext.l      D1
  896. 000009EC  9280                     sub.l      D1, D0
  897. 000009EE  3601                     move.w     D3, D1
  898. 000009F0  4A41                     tst.w      D1
  899. 000009F2  504F                     addq.w     A7, 8
  900. 000009F4  6F08                     ble        +0xA /* 000009FE */
  901. 000009F6  D76F 0032                add.w      [A7 + 0x32], D3
  902. 000009FA  D76F 002A                add.w      [A7 + 0x2A], D3
  903. label000009FE:
  904. 000009FE  302F 0034                move.w     D0, [A7 + 0x34]
  905. 00000A02  48C0                     ext.l      D0
  906. 00000A04  322F 0020                move.w     D1, [A7 + 0x20]
  907. 00000A08  48C1                     ext.l      D1
  908. 00000A0A  9280                     sub.l      D1, D0
  909. 00000A0C  3601                     move.w     D3, D1
  910. 00000A0E  4A41                     tst.w      D1
  911. 00000A10  6F08                     ble        +0xA /* 00000A1A */
  912. 00000A12  D76F 0034                add.w      [A7 + 0x34], D3
  913. 00000A16  D76F 002C                add.w      [A7 + 0x2C], D3
  914. label00000A1A:
  915. 00000A1A  302F 0036                move.w     D0, [A7 + 0x36]
  916. 00000A1E  48C0                     ext.l      D0
  917. 00000A20  322F 0022                move.w     D1, [A7 + 0x22]
  918. 00000A24  48C1                     ext.l      D1
  919. 00000A26  9280                     sub.l      D1, D0
  920. 00000A28  3601                     move.w     D3, D1
  921. 00000A2A  4A41                     tst.w      D1
  922. 00000A2C  6C08                     bge        +0xA /* 00000A36 */
  923. 00000A2E  D76F 0036                add.w      [A7 + 0x36], D3
  924. 00000A32  D76F 002E                add.w      [A7 + 0x2E], D3
  925. label00000A36:
  926. 00000A36  302F 0038                move.w     D0, [A7 + 0x38]
  927. 00000A3A  48C0                     ext.l      D0
  928. 00000A3C  322F 0024                move.w     D1, [A7 + 0x24]
  929. 00000A40  48C1                     ext.l      D1
  930. 00000A42  9280                     sub.l      D1, D0
  931. 00000A44  3601                     move.w     D3, D1
  932. 00000A46  4A41                     tst.w      D1
  933. 00000A48  6C08                     bge        +0xA /* 00000A52 */
  934. 00000A4A  D76F 0038                add.w      [A7 + 0x38], D3
  935. 00000A4E  D76F 0030                add.w      [A7 + 0x30], D3
  936. label00000A52:
  937. 00000A52  302F 0030                move.w     D0, [A7 + 0x30]
  938. 00000A56  B06F 002C                cmp.w      D0, [A7 + 0x2C]
  939. 00000A5A  6F40                     ble        +0x42 /* 00000A9C */
  940. 00000A5C  302F 002E                move.w     D0, [A7 + 0x2E]
  941. 00000A60  B06F 002A                cmp.w      D0, [A7 + 0x2A]
  942. 00000A64  6F36                     ble        +0x38 /* 00000A9C */
  943. 00000A66  302F 0038                move.w     D0, [A7 + 0x38]
  944. 00000A6A  B06F 0034                cmp.w      D0, [A7 + 0x34]
  945. 00000A6E  6F2C                     ble        +0x2E /* 00000A9C */
  946. 00000A70  302F 0036                move.w     D0, [A7 + 0x36]
  947. 00000A74  B06F 0032                cmp.w      D0, [A7 + 0x32]
  948. 00000A78  6F22                     ble        +0x24 /* 00000A9C */
  949. 00000A7A  42A7                     clr.l      -[A7]
  950. 00000A7C  3F04                     move.w     -[A7], D4
  951. 00000A7E  486F 0038                pea.l      [A7 + 0x38]
  952. 00000A82  486F 0034                pea.l      [A7 + 0x34]
  953. 00000A86  486D 20DE                pea.l      [A5 + 0x20DE]
  954. 00000A8A  4EBA F9E8                jsr        [PC - 0x618 /* 00000474 */]
  955. 00000A8E  584F                     addq.w     A7, 4
  956. 00000A90  2F08                     move.l     -[A7], A0
  957. 00000A92  2F0B                     move.l     -[A7], A3
  958. 00000A94  4EAD A4A0                jsr        [A5 - 0x5B60]
  959. 00000A98  4FEF 0016                lea.l      A7, [A7 + 0x16]
  960. label00000A9C:
  961. 00000A9C  3F05                     move.w     -[A7], D5
  962. 00000A9E  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  963. 00000AA2  2F0A                     move.l     -[A7], A2
  964. 00000AA4  4EAD B308                jsr        [A5 - 0x4CF8]
  965. 00000AA8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  966. 00000AAC  6012                     bra        +0x14 /* 00000AC0 */
  967. label00000AAE:
  968. 00000AAE  4857                     pea.l      [A7]
  969. 00000AB0  2F0C                     move.l     -[A7], A4
  970. 00000AB2  42A7                     clr.l      -[A7]
  971. 00000AB4  4267                     clr.w      -[A7]
  972. 00000AB6  3F03                     move.w     -[A7], D3
  973. 00000AB8  4EBA 006E                jsr        [PC + 0x6E /* 00000B28 */]
  974. 00000ABC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  975. label00000AC0:
  976. 00000AC0  4FEF 003A                lea.l      A7, [A7 + 0x3A]
  977. 00000AC4  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  978. 00000AC8  4E75                     rts
  979. 00000ACA  4E75                     rts
  980. fn00000ACC:
  981. 00000ACC  554F                     subq.w     A7, 2
  982. 00000ACE  486D 20B6                pea.l      [A5 + 0x20B6]
  983. 00000AD2  A8AE                     syscall    EmptyRect
  984. 00000AD4  101F                     move.b     D0, [A7]+
  985. 00000AD6  6710                     beq        +0x12 /* 00000AE8 */
  986. 00000AD8  206F 0004                movea.l    A0, [A7 + 0x4]
  987. 00000ADC  2B50 20B6                move.l     [A5 + 0x20B6], [A0]
  988. 00000AE0  2B68 0004 20BA           move.l     [A5 + 0x20BA /* export_1043 */], [A0 + 0x4]
  989. 00000AE6  600E                     bra        +0x10 /* 00000AF6 */
  990. label00000AE8:
  991. 00000AE8  486D 20B6                pea.l      [A5 + 0x20B6]
  992. 00000AEC  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  993. 00000AF0  486D 20B6                pea.l      [A5 + 0x20B6]
  994. 00000AF4  A8AB                     syscall    UnionRect
  995. label00000AF6:
  996. 00000AF6  554F                     subq.w     A7, 2
  997. 00000AF8  486D 20B6                pea.l      [A5 + 0x20B6]
  998. 00000AFC  486D 20AA                pea.l      [A5 + 0x20AA /* export_1041 */]
  999. 00000B00  486D 20B6                pea.l      [A5 + 0x20B6]
  1000. 00000B04  A8AA                     syscall    SectRect
  1001. 00000B06  101F                     move.b     D0, [A7]+
  1002. 00000B08  4E75                     rts
  1003. fn00000B0A:
  1004. 00000B0A  4FEF FFE2                lea.l      A7, [A7 - 0x1E]
  1005. 00000B0E  4857                     pea.l      [A7]
  1006. 00000B10  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  1007. 00000B14  42A7                     clr.l      -[A7]
  1008. 00000B16  3F2F 0030                move.w     -[A7], [A7 + 0x30]
  1009. 00000B1A  3F2F 0030                move.w     -[A7], [A7 + 0x30]
  1010. 00000B1E  4EBA 0008                jsr        [PC + 0x8 /* 00000B28 */]
  1011. 00000B22  4FEF 002E                lea.l      A7, [A7 + 0x2E]
  1012. 00000B26  4E75                     rts
  1013. fn00000B28:
  1014. 00000B28  48E7 1030                movem.l    -[A7], D3,A2,A3
  1015. 00000B2C  362F 0010                move.w     D3, [A7 + 0x10]
  1016. 00000B30  266F 0018                movea.l    A3, [A7 + 0x18]
  1017. 00000B34  246F 001C                movea.l    A2, [A7 + 0x1C]
  1018. 00000B38  256F 0014 0004           move.l     [A2 + 0x4], [A7 + 0x14]
  1019. 00000B3E  254B 0010                move.l     [A2 + 0x10], A3
  1020. 00000B42  356F 0012 0016           move.w     [A2 + 0x16], [A7 + 0x12]
  1021. 00000B48  3543 0018                move.w     [A2 + 0x18], D3
  1022. 00000B4C  3003                     move.w     D0, D3
  1023. 00000B4E  48C0                     ext.l      D0
  1024. 00000B50  5980                     subq.l     D0, 4
  1025. 00000B52  4C3C 0800 0000           movem.w    A3, 0x0
  1026. 00000B58  0018 204B                ori.b      [A0]+, 0x4B /* 'K' */
  1027. 00000B5C  D1C0                     add.l      A0, D0
  1028. 00000B5E  41E8 0648                lea.l      A0, [A0 + 0x648]
  1029. 00000B62  2488                     move.l     [A2], A0
  1030. 00000B64  2052                     movea.l    A0, [A2]
  1031. 00000B66  1010                     move.b     D0, [A0]
  1032. 00000B68  4880                     ext.w      D0
  1033. 00000B6A  3540 0014                move.w     [A2 + 0x14], D0
  1034. 00000B6E  4A6A 0014                tst.w      [A2 + 0x14]
  1035. 00000B72  6700 00A0                beq        +0xA2 /* 00000C14 */
  1036. 00000B76  42AA 000C                clr.l      [A2 + 0xC]
  1037. 00000B7A  0C6A 0010 0014           cmpi.w     [A2 + 0x14], 0x10
  1038. 00000B80  6676                     bne        +0x78 /* 00000BF8 */
  1039. 00000B82  2052                     movea.l    A0, [A2]
  1040. 00000B84  4A68 0002                tst.w      [A0 + 0x2]
  1041. 00000B88  6F6E                     ble        +0x70 /* 00000BF8 */
  1042. 00000B8A  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  1043. 00000B8E  2050                     movea.l    A0, [A0]
  1044. 00000B90  2050                     movea.l    A0, [A0]
  1045. 00000B92  2252                     movea.l    A1, [A2]
  1046. 00000B94  3029 0002                move.w     D0, [A1 + 0x2]
  1047. 00000B98  B068 000A                cmp.w      D0, [A0 + 0xA]
  1048. 00000B9C  6E5A                     bgt        +0x5C /* 00000BF8 */
  1049. 00000B9E  2052                     movea.l    A0, [A2]
  1050. 00000BA0  4A68 0004                tst.w      [A0 + 0x4]
  1051. 00000BA4  6F52                     ble        +0x54 /* 00000BF8 */
  1052. 00000BA6  2052                     movea.l    A0, [A2]
  1053. 00000BA8  3028 0002                move.w     D0, [A0 + 0x2]
  1054. 00000BAC  48C0                     ext.l      D0
  1055. 00000BAE  5380                     subq.l     D0, 1
  1056. 00000BB0  4C3C 0800 0000           movem.w    A3, 0x0
  1057. 00000BB6  0018 206D                ori.b      [A0]+, 0x6D /* 'm' */
  1058. 00000BBA  1C30 2050                move.b     D6, [A0 + D2.w + 0x50]
  1059. 00000BBE  2250                     movea.l    A1, [A0]
  1060. 00000BC0  3031 0820                move.w     D0, [A1 + D0 + 0x20]
  1061. 00000BC4  48C0                     ext.l      D0
  1062. 00000BC6  5380                     subq.l     D0, 1
  1063. 00000BC8  4C3C 0800 0000           movem.w    A3, 0x0
  1064. 00000BCE  0166                     bchg       -[A6], D0
  1065. 00000BD0  206D 14A8                movea.l    A0, [A5 + 0x14A8]
  1066. 00000BD4  2050                     movea.l    A0, [A0]
  1067. 00000BD6  D1C0                     add.l      A0, D0
  1068. 00000BD8  41E8 0014                lea.l      A0, [A0 + 0x14]
  1069. 00000BDC  2252                     movea.l    A1, [A2]
  1070. 00000BDE  3029 0004                move.w     D0, [A1 + 0x4]
  1071. 00000BE2  B068 0160                cmp.w      D0, [A0 + 0x160]
  1072. 00000BE6  6E10                     bgt        +0x12 /* 00000BF8 */
  1073. 00000BE8  2052                     movea.l    A0, [A2]
  1074. 00000BEA  2F28 0002                move.l     -[A7], [A0 + 0x2]
  1075. 00000BEE  4EAD B5F8                jsr        [A5 - 0x4A08]
  1076. 00000BF2  2548 000C                move.l     [A2 + 0xC], A0
  1077. 00000BF6  584F                     addq.w     A7, 4
  1078. label00000BF8:
  1079. 00000BF8  3003                     move.w     D0, D3
  1080. 00000BFA  48C0                     ext.l      D0
  1081. 00000BFC  5D80                     subq.l     D0, 6
  1082. 00000BFE  E788                     lsl        D0, 3
  1083. 00000C00  204B                     movea.l    A0, A3
  1084. 00000C02  D1C0                     add.l      A0, D0
  1085. 00000C04  41E8 0AF8                lea.l      A0, [A0 + 0xAF8]
  1086. 00000C08  2548 0008                move.l     [A2 + 0x8], A0
  1087. 00000C0C  2F0A                     move.l     -[A7], A2
  1088. 00000C0E  4EAD AC78                jsr        [A5 - 0x5388]
  1089. 00000C12  584F                     addq.w     A7, 4
  1090. label00000C14:
  1091. 00000C14  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1092. 00000C18  4E75                     rts
  1093. fn00000C1A:
  1094. 00000C1A  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  1095. 00000C1E  594F                     subq.w     A7, 4
  1096. 00000C20  362F 0018                move.w     D3, [A7 + 0x18]
  1097. 00000C24  286F 0020                movea.l    A4, [A7 + 0x20]
  1098. 00000C28  246F 0024                movea.l    A2, [A7 + 0x24]
  1099. 00000C2C  266F 0028                movea.l    A3, [A7 + 0x28]
  1100. 00000C30  3003                     move.w     D0, D3
  1101. 00000C32  48C0                     ext.l      D0
  1102. 00000C34  5D80                     subq.l     D0, 6
  1103. 00000C36  4C3C 0800 0000           movem.w    A3, 0x0
  1104. 00000C3C  000C 204C                ori.b      A4, 0x4C /* 'L' */
  1105. 00000C40  D1C0                     add.l      A0, D0
  1106. 00000C42  2EA8 1498                move.l     [A7], [A0 + 0x1498]
  1107. 00000C46  4A6F 0002                tst.w      [A7 + 0x2]
  1108. 00000C4A  6700 00DE                beq        +0xE0 /* 00000D2A */
  1109. 00000C4E  4A6B 0002                tst.w      [A3 + 0x2]
  1110. 00000C52  6714                     beq        +0x16 /* 00000C68 */
  1111. 00000C54  3017                     move.w     D0, [A7]
  1112. 00000C56  B053                     cmp.w      D0, [A3]
  1113. 00000C58  6600 00C4                bne        +0xC6 /* 00000D1E */
  1114. 00000C5C  302F 0002                move.w     D0, [A7 + 0x2]
  1115. 00000C60  B06B 0002                cmp.w      D0, [A3 + 0x2]
  1116. 00000C64  6600 00B8                bne        +0xBA /* 00000D1E */
  1117. label00000C68:
  1118. 00000C68  256F 001C 0004           move.l     [A2 + 0x4], [A7 + 0x1C]
  1119. 00000C6E  254C 0010                move.l     [A2 + 0x10], A4
  1120. 00000C72  356F 001A 0016           move.w     [A2 + 0x16], [A7 + 0x1A]
  1121. 00000C78  3543 0018                move.w     [A2 + 0x18], D3
  1122. 00000C7C  3003                     move.w     D0, D3
  1123. 00000C7E  48C0                     ext.l      D0
  1124. 00000C80  5980                     subq.l     D0, 4
  1125. 00000C82  4C3C 0800 0000           movem.w    A3, 0x0
  1126. 00000C88  0018 204C                ori.b      [A0]+, 0x4C /* 'L' */
  1127. 00000C8C  D1C0                     add.l      A0, D0
  1128. 00000C8E  41E8 0648                lea.l      A0, [A0 + 0x648]
  1129. 00000C92  2488                     move.l     [A2], A0
  1130. 00000C94  357C 0010 0014           move.w     [A2 + 0x14], 0x10
  1131. 00000C9A  42AA 000C                clr.l      [A2 + 0xC]
  1132. 00000C9E  4A57                     tst.w      [A7]
  1133. 00000CA0  6F5E                     ble        +0x60 /* 00000D00 */
  1134. 00000CA2  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  1135. 00000CA6  2050                     movea.l    A0, [A0]
  1136. 00000CA8  2050                     movea.l    A0, [A0]
  1137. 00000CAA  3017                     move.w     D0, [A7]
  1138. 00000CAC  B068 000A                cmp.w      D0, [A0 + 0xA]
  1139. 00000CB0  6E4E                     bgt        +0x50 /* 00000D00 */
  1140. 00000CB2  4A6F 0002                tst.w      [A7 + 0x2]
  1141. 00000CB6  6F48                     ble        +0x4A /* 00000D00 */
  1142. 00000CB8  3017                     move.w     D0, [A7]
  1143. 00000CBA  48C0                     ext.l      D0
  1144. 00000CBC  5380                     subq.l     D0, 1
  1145. 00000CBE  4C3C 0800 0000           movem.w    A3, 0x0
  1146. 00000CC4  0018 206D                ori.b      [A0]+, 0x6D /* 'm' */
  1147. 00000CC8  1C30 2050                move.b     D6, [A0 + D2.w + 0x50]
  1148. 00000CCC  2250                     movea.l    A1, [A0]
  1149. 00000CCE  3031 0820                move.w     D0, [A1 + D0 + 0x20]
  1150. 00000CD2  48C0                     ext.l      D0
  1151. 00000CD4  5380                     subq.l     D0, 1
  1152. 00000CD6  4C3C 0800 0000           movem.w    A3, 0x0
  1153. 00000CDC  0166                     bchg       -[A6], D0
  1154. 00000CDE  206D 14A8                movea.l    A0, [A5 + 0x14A8]
  1155. 00000CE2  2050                     movea.l    A0, [A0]
  1156. 00000CE4  D1C0                     add.l      A0, D0
  1157. 00000CE6  41E8 0014                lea.l      A0, [A0 + 0x14]
  1158. 00000CEA  302F 0002                move.w     D0, [A7 + 0x2]
  1159. 00000CEE  B068 0160                cmp.w      D0, [A0 + 0x160]
  1160. 00000CF2  6E0C                     bgt        +0xE /* 00000D00 */
  1161. 00000CF4  2F17                     move.l     -[A7], [A7]
  1162. 00000CF6  4EAD B5F8                jsr        [A5 - 0x4A08]
  1163. 00000CFA  2548 000C                move.l     [A2 + 0xC], A0
  1164. 00000CFE  584F                     addq.w     A7, 4
  1165. label00000D00:
  1166. 00000D00  3003                     move.w     D0, D3
  1167. 00000D02  48C0                     ext.l      D0
  1168. 00000D04  5D80                     subq.l     D0, 6
  1169. 00000D06  E788                     lsl        D0, 3
  1170. 00000D08  204C                     movea.l    A0, A4
  1171. 00000D0A  D1C0                     add.l      A0, D0
  1172. 00000D0C  41E8 0AF8                lea.l      A0, [A0 + 0xAF8]
  1173. 00000D10  2548 0008                move.l     [A2 + 0x8], A0
  1174. 00000D14  2F0A                     move.l     -[A7], A2
  1175. 00000D16  4EAD AC78                jsr        [A5 - 0x5388]
  1176. 00000D1A  584F                     addq.w     A7, 4
  1177. 00000D1C  600C                     bra        +0xE /* 00000D2A */
  1178. label00000D1E:
  1179. 00000D1E  4267                     clr.w      -[A7]
  1180. 00000D20  486F 0002                pea.l      [A7 + 0x2]
  1181. 00000D24  4EAD B560                jsr        [A5 - 0x4AA0]
  1182. 00000D28  5C4F                     addq.w     A7, 6
  1183. label00000D2A:
  1184. 00000D2A  2697                     move.l     [A3], [A7]
  1185. 00000D2C  584F                     addq.w     A7, 4
  1186. 00000D2E  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  1187. 00000D32  4E75                     rts
  1188. 00000D34  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  1189. 00000D38  4FEF FFE2                lea.l      A7, [A7 - 0x1E]
  1190. 00000D3C  3A2F 0032                move.w     D5, [A7 + 0x32]
  1191. 00000D40  282F 0034                move.l     D4, [A7 + 0x34]
  1192. 00000D44  246F 0038                movea.l    A2, [A7 + 0x38]
  1193. 00000D48  7606                     moveq.l    D3, 0x06
  1194. 00000D4A  6014                     bra        +0x16 /* 00000D60 */
  1195. label00000D4C:
  1196. 00000D4C  4857                     pea.l      [A7]
  1197. 00000D4E  2F0A                     move.l     -[A7], A2
  1198. 00000D50  2F04                     move.l     -[A7], D4
  1199. 00000D52  3F05                     move.w     -[A7], D5
  1200. 00000D54  3F03                     move.w     -[A7], D3
  1201. 00000D56  4EBA FDD0                jsr        [PC - 0x230 /* 00000B28 */]
  1202. 00000D5A  5243                     addq.w     D3, 1
  1203. 00000D5C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1204. label00000D60:
  1205. 00000D60  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  1206. 00000D64  6FE6                     ble        -0x18 /* 00000D4C */
  1207. 00000D66  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  1208. 00000D6A  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  1209. 00000D6E  4E75                     rts
  1210. fn00000D70:
  1211. 00000D70  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  1212. 00000D74  4FEF FFE2                lea.l      A7, [A7 - 0x1E]
  1213. 00000D78  3A2F 0032                move.w     D5, [A7 + 0x32]
  1214. 00000D7C  282F 003C                move.l     D4, [A7 + 0x3C]
  1215. 00000D80  246F 0040                movea.l    A2, [A7 + 0x40]
  1216. 00000D84  41EF 0034                lea.l      A0, [A7 + 0x34]
  1217. 00000D88  2018                     move.l     D0, [A0]+
  1218. 00000D8A  8090                     or.l       D0, [A0]
  1219. 00000D8C  6604                     bne        +0x6 /* 00000D92 */
  1220. 00000D8E  7001                     moveq.l    D0, 0x01
  1221. 00000D90  6002                     bra        +0x4 /* 00000D94 */
  1222. label00000D92:
  1223. 00000D92  7000                     moveq.l    D0, 0x00
  1224. label00000D94:
  1225. 00000D94  4A00                     tst.b      D0
  1226. 00000D96  663C                     bne        +0x3E /* 00000DD4 */
  1227. 00000D98  7606                     moveq.l    D3, 0x06
  1228. 00000D9A  6032                     bra        +0x34 /* 00000DCE */
  1229. label00000D9C:
  1230. 00000D9C  41EF 0034                lea.l      A0, [A7 + 0x34]
  1231. 00000DA0  3003                     move.w     D0, D3
  1232. 00000DA2  0A00 0018                xori.b     D0, 0x18
  1233. 00000DA6  3200                     move.w     D1, D0
  1234. 00000DA8  E648                     lsr        D0.w, 3
  1235. 00000DAA  0330 0000                btst       [A0 + D0.w], D1
  1236. 00000DAE  6604                     bne        +0x6 /* 00000DB4 */
  1237. 00000DB0  7000                     moveq.l    D0, 0x00
  1238. 00000DB2  6002                     bra        +0x4 /* 00000DB6 */
  1239. label00000DB4:
  1240. 00000DB4  7001                     moveq.l    D0, 0x01
  1241. label00000DB6:
  1242. 00000DB6  4A00                     tst.b      D0
  1243. 00000DB8  6712                     beq        +0x14 /* 00000DCC */
  1244. 00000DBA  4857                     pea.l      [A7]
  1245. 00000DBC  2F0A                     move.l     -[A7], A2
  1246. 00000DBE  2F04                     move.l     -[A7], D4
  1247. 00000DC0  3F05                     move.w     -[A7], D5
  1248. 00000DC2  3F03                     move.w     -[A7], D3
  1249. 00000DC4  4EBA FD62                jsr        [PC - 0x29E /* 00000B28 */]
  1250. 00000DC8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1251. label00000DCC:
  1252. 00000DCC  5243                     addq.w     D3, 1
  1253. label00000DCE:
  1254. 00000DCE  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  1255. 00000DD2  6FC8                     ble        -0x36 /* 00000D9C */
  1256. label00000DD4:
  1257. 00000DD4  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  1258. 00000DD8  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  1259. 00000DDC  4E75                     rts
  1260. fn00000DDE:
  1261. 00000DDE  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  1262. 00000DE2  4FEF FFDE                lea.l      A7, [A7 - 0x22]
  1263. 00000DE6  3A2F 003E                move.w     D5, [A7 + 0x3E]
  1264. 00000DEA  282F 0040                move.l     D4, [A7 + 0x40]
  1265. 00000DEE  246F 0044                movea.l    A2, [A7 + 0x44]
  1266. 00000DF2  7606                     moveq.l    D3, 0x06
  1267. 00000DF4  6066                     bra        +0x68 /* 00000E5C */
  1268. label00000DF6:
  1269. 00000DF6  2F6F 003A 001E           move.l     [A7 + 0x1E], [A7 + 0x3A]
  1270. 00000DFC  486F 001E                pea.l      [A7 + 0x1E]
  1271. 00000E00  486F 0004                pea.l      [A7 + 0x4]
  1272. 00000E04  2F0A                     move.l     -[A7], A2
  1273. 00000E06  2F04                     move.l     -[A7], D4
  1274. 00000E08  3F05                     move.w     -[A7], D5
  1275. 00000E0A  3F03                     move.w     -[A7], D3
  1276. 00000E0C  4EBA FE0C                jsr        [PC - 0x1F4 /* 00000C1A */]
  1277. 00000E10  4A6F 0034                tst.w      [A7 + 0x34]
  1278. 00000E14  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1279. 00000E18  6640                     bne        +0x42 /* 00000E5A */
  1280. 00000E1A  3003                     move.w     D0, D3
  1281. 00000E1C  48C0                     ext.l      D0
  1282. 00000E1E  5980                     subq.l     D0, 4
  1283. 00000E20  4C3C 0800 0000           movem.w    A3, 0x0
  1284. 00000E26  0018 264A                ori.b      [A0]+, 0x4A /* 'J' */
  1285. 00000E2A  D7C0                     add.l      A3, D0
  1286. 00000E2C  0C2B 0010 0648           cmpi.b     [A3 + 0x648], 0x10
  1287. 00000E32  6626                     bne        +0x28 /* 00000E5A */
  1288. 00000E34  302B 064A                move.w     D0, [A3 + 0x64A]
  1289. 00000E38  B06F 003A                cmp.w      D0, [A7 + 0x3A]
  1290. 00000E3C  661C                     bne        +0x1E /* 00000E5A */
  1291. 00000E3E  302B 064C                move.w     D0, [A3 + 0x64C]
  1292. 00000E42  B06F 003C                cmp.w      D0, [A7 + 0x3C]
  1293. 00000E46  6612                     bne        +0x14 /* 00000E5A */
  1294. 00000E48  4857                     pea.l      [A7]
  1295. 00000E4A  2F0A                     move.l     -[A7], A2
  1296. 00000E4C  2F04                     move.l     -[A7], D4
  1297. 00000E4E  3F05                     move.w     -[A7], D5
  1298. 00000E50  3F03                     move.w     -[A7], D3
  1299. 00000E52  4EBA FCD4                jsr        [PC - 0x32C /* 00000B28 */]
  1300. 00000E56  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1301. label00000E5A:
  1302. 00000E5A  5243                     addq.w     D3, 1
  1303. label00000E5C:
  1304. 00000E5C  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  1305. 00000E60  6F94                     ble        -0x6A /* 00000DF6 */
  1306. 00000E62  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1307. 00000E66  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1308. 00000E6A  4E75                     rts
  1309. fn00000E6C:
  1310. 00000E6C  7200                     moveq.l    D1, 0x00
  1311. 00000E6E  4A6F 0006                tst.w      [A7 + 0x6]
  1312. 00000E72  6728                     beq        +0x2A /* 00000E9C */
  1313. 00000E74  342F 0004                move.w     D2, [A7 + 0x4]
  1314. 00000E78  3002                     move.w     D0, D2
  1315. 00000E7A  48C0                     ext.l      D0
  1316. 00000E7C  5380                     subq.l     D0, 1
  1317. 00000E7E  4C3C 0800 0000           movem.w    A3, 0x0
  1318. 00000E84  0018 206D                ori.b      [A0]+, 0x6D /* 'm' */
  1319. 00000E88  1C30 2050                move.b     D6, [A0 + D2.w + 0x50]
  1320. 00000E8C  2050                     movea.l    A0, [A0]
  1321. 00000E8E  D1C0                     add.l      A0, D0
  1322. 00000E90  41E8 0014                lea.l      A0, [A0 + 0x14]
  1323. 00000E94  2008                     move.l     D0, A0
  1324. 00000E96  6704                     beq        +0x6 /* 00000E9C */
  1325. 00000E98  3228 000C                move.w     D1, [A0 + 0xC]
  1326. label00000E9C:
  1327. 00000E9C  3001                     move.w     D0, D1
  1328. 00000E9E  4E75                     rts
  1329. fn00000EA0:
  1330. 00000EA0  48E7 1E00                movem.l    -[A7], D3,D4,D5,D6
  1331. 00000EA4  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  1332. 00000EA8  3C2F 0028                move.w     D6, [A7 + 0x28]
  1333. 00000EAC  4267                     clr.w      -[A7]
  1334. 00000EAE  486F 0002                pea.l      [A7 + 0x2]
  1335. 00000EB2  4EAD B560                jsr        [A5 - 0x4AA0]
  1336. 00000EB6  2F6F 0006 000E           move.l     [A7 + 0xE], [A7 + 0x6]
  1337. 00000EBC  3A2F 0032                move.w     D5, [A7 + 0x32]
  1338. 00000EC0  7601                     moveq.l    D3, 0x01
  1339. 00000EC2  5C4F                     addq.w     A7, 6
  1340. 00000EC4  602E                     bra        +0x30 /* 00000EF4 */
  1341. label00000EC6:
  1342. 00000EC6  3F05                     move.w     -[A7], D5
  1343. 00000EC8  3F03                     move.w     -[A7], D3
  1344. 00000ECA  486F 0008                pea.l      [A7 + 0x8]
  1345. 00000ECE  4EAD B558                jsr        [A5 - 0x4AA8]
  1346. 00000ED2  2F6F 000C 0014           move.l     [A7 + 0x14], [A7 + 0xC]
  1347. 00000ED8  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  1348. 00000EDC  4EBA FF8E                jsr        [PC - 0x72 /* 00000E6C */]
  1349. 00000EE0  3800                     move.w     D4, D0
  1350. 00000EE2  BC44                     cmp.w      D6, D4
  1351. 00000EE4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1352. 00000EE8  6608                     bne        +0xA /* 00000EF2 */
  1353. 00000EEA  2F6F 000C 0008           move.l     [A7 + 0x8], [A7 + 0xC]
  1354. 00000EF0  6010                     bra        +0x12 /* 00000F02 */
  1355. label00000EF2:
  1356. 00000EF2  5243                     addq.w     D3, 1
  1357. label00000EF4:
  1358. 00000EF4  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  1359. 00000EF8  2050                     movea.l    A0, [A0]
  1360. 00000EFA  2050                     movea.l    A0, [A0]
  1361. 00000EFC  B668 000A                cmp.w      D3, [A0 + 0xA]
  1362. 00000F00  6FC4                     ble        -0x3A /* 00000EC6 */
  1363. label00000F02:
  1364. 00000F02  206F 0024                movea.l    A0, [A7 + 0x24]
  1365. 00000F06  20AF 0008                move.l     [A0], [A7 + 0x8]
  1366. 00000F0A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1367. 00000F0E  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  1368. 00000F12  4E75                     rts
  1369. 00000F14  48E7 1E00                movem.l    -[A7], D3,D4,D5,D6
  1370. 00000F18  4FEF FFBC                lea.l      A7, [A7 - 0x44]
  1371. 00000F1C  3C2F 005C                move.w     D6, [A7 + 0x5C]
  1372. 00000F20  2A2F 005E                move.l     D5, [A7 + 0x5E]
  1373. 00000F24  4A6F 005A                tst.w      [A7 + 0x5A]
  1374. 00000F28  6700 00B4                beq        +0xB6 /* 00000FDE */
  1375. 00000F2C  4857                     pea.l      [A7]
  1376. 00000F2E  4EAD C760                jsr        [A5 - 0x38A0]
  1377. 00000F32  7001                     moveq.l    D0, 0x01
  1378. 00000F34  B0AF 0004                cmp.l      D0, [A7 + 0x4]
  1379. 00000F38  584F                     addq.w     A7, 4
  1380. 00000F3A  671E                     beq        +0x20 /* 00000F5A */
  1381. 00000F3C  302F 0058                move.w     D0, [A7 + 0x58]
  1382. 00000F40  48C0                     ext.l      D0
  1383. 00000F42  5380                     subq.l     D0, 1
  1384. 00000F44  4C3C 0800 0000           movem.w    A3, 0x0
  1385. 00000F4A  0018 206D                ori.b      [A0]+, 0x6D /* 'm' */
  1386. 00000F4E  1C30 2050                move.b     D6, [A0 + D2.w + 0x50]
  1387. 00000F52  2250                     movea.l    A1, [A0]
  1388. 00000F54  4A31 0828                tst.b      [A1 + D0 + 0x28]
  1389. 00000F58  6616                     bne        +0x18 /* 00000F70 */
  1390. label00000F5A:
  1391. 00000F5A  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  1392. 00000F5E  2F05                     move.l     -[A7], D5
  1393. 00000F60  3F06                     move.w     -[A7], D6
  1394. 00000F62  2F2F 0062                move.l     -[A7], [A7 + 0x62]
  1395. 00000F66  4EBA FE76                jsr        [PC - 0x18A /* 00000DDE */]
  1396. 00000F6A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1397. 00000F6E  606E                     bra        +0x70 /* 00000FDE */
  1398. label00000F70:
  1399. 00000F70  2F2F 0058                move.l     -[A7], [A7 + 0x58]
  1400. 00000F74  4EBA FEF6                jsr        [PC - 0x10A /* 00000E6C */]
  1401. 00000F78  3800                     move.w     D4, D0
  1402. 00000F7A  7601                     moveq.l    D3, 0x01
  1403. 00000F7C  584F                     addq.w     A7, 4
  1404. 00000F7E  605A                     bra        +0x5C /* 00000FDA */
  1405. label00000F80:
  1406. 00000F80  486F 003C                pea.l      [A7 + 0x3C]
  1407. 00000F84  2F03                     move.l     -[A7], D3
  1408. 00000F86  4EAD C768                jsr        [A5 - 0x3898]
  1409. 00000F8A  4A80                     tst.l      D0
  1410. 00000F8C  504F                     addq.w     A7, 8
  1411. 00000F8E  6648                     bne        +0x4A /* 00000FD8 */
  1412. 00000F90  486F 0004                pea.l      [A7 + 0x4]
  1413. 00000F94  486F 0040                pea.l      [A7 + 0x40]
  1414. 00000F98  4EAD CA70                jsr        [A5 - 0x3590]
  1415. 00000F9C  4A80                     tst.l      D0
  1416. 00000F9E  504F                     addq.w     A7, 8
  1417. 00000FA0  6636                     bne        +0x38 /* 00000FD8 */
  1418. 00000FA2  2F2F 0058                move.l     -[A7], [A7 + 0x58]
  1419. 00000FA6  3F04                     move.w     -[A7], D4
  1420. 00000FA8  486F 0046                pea.l      [A7 + 0x46]
  1421. 00000FAC  4EBA FEF2                jsr        [PC - 0x10E /* 00000EA0 */]
  1422. 00000FB0  4A6F 004C                tst.w      [A7 + 0x4C]
  1423. 00000FB4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1424. 00000FB8  6714                     beq        +0x16 /* 00000FCE */
  1425. 00000FBA  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  1426. 00000FBE  2F05                     move.l     -[A7], D5
  1427. 00000FC0  3F06                     move.w     -[A7], D6
  1428. 00000FC2  2F2F 004A                move.l     -[A7], [A7 + 0x4A]
  1429. 00000FC6  4EBA FE16                jsr        [PC - 0x1EA /* 00000DDE */]
  1430. 00000FCA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1431. label00000FCE:
  1432. 00000FCE  486F 0004                pea.l      [A7 + 0x4]
  1433. 00000FD2  4EAD CA78                jsr        [A5 - 0x3588]
  1434. 00000FD6  584F                     addq.w     A7, 4
  1435. label00000FD8:
  1436. 00000FD8  5283                     addq.l     D3, 1
  1437. label00000FDA:
  1438. 00000FDA  B697                     cmp.l      D3, [A7]
  1439. 00000FDC  6FA2                     ble        -0x5C /* 00000F80 */
  1440. label00000FDE:
  1441. 00000FDE  4FEF 0044                lea.l      A7, [A7 + 0x44]
  1442. 00000FE2  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  1443. 00000FE6  4E75                     rts
  1444. fn00000FE8:
  1445. 00000FE8  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  1446. 00000FEC  4FEF FFE2                lea.l      A7, [A7 - 0x1E]
  1447. 00000FF0  246F 003A                movea.l    A2, [A7 + 0x3A]
  1448. 00000FF4  41EA 12EC                lea.l      A0, [A2 + 0x12EC]
  1449. 00000FF8  7000                     moveq.l    D0, 0x00
  1450. 00000FFA  20C0                     move.l     [A0]+, D0
  1451. 00000FFC  2080                     move.l     [A0], D0
  1452. 00000FFE  41EA 1434                lea.l      A0, [A2 + 0x1434]
  1453. 00001002  7000                     moveq.l    D0, 0x00
  1454. 00001004  20C0                     move.l     [A0]+, D0
  1455. 00001006  2080                     move.l     [A0], D0
  1456. 00001008  41EA 143C                lea.l      A0, [A2 + 0x143C]
  1457. 0000100C  7000                     moveq.l    D0, 0x00
  1458. 0000100E  20C0                     move.l     [A0]+, D0
  1459. 00001010  2080                     move.l     [A0], D0
  1460. 00001012  41EA 1484                lea.l      A0, [A2 + 0x1484]
  1461. 00001016  7000                     moveq.l    D0, 0x00
  1462. 00001018  20C0                     move.l     [A0]+, D0
  1463. 0000101A  2080                     move.l     [A0], D0
  1464. 0000101C  41EA 147C                lea.l      A0, [A2 + 0x147C]
  1465. 00001020  7000                     moveq.l    D0, 0x00
  1466. 00001022  20C0                     move.l     [A0]+, D0
  1467. 00001024  2080                     move.l     [A0], D0
  1468. 00001026  41EA 144C                lea.l      A0, [A2 + 0x144C]
  1469. 0000102A  7000                     moveq.l    D0, 0x00
  1470. 0000102C  20C0                     move.l     [A0]+, D0
  1471. 0000102E  2080                     move.l     [A0], D0
  1472. 00001030  41EA 1454                lea.l      A0, [A2 + 0x1454]
  1473. 00001034  7000                     moveq.l    D0, 0x00
  1474. 00001036  20C0                     move.l     [A0]+, D0
  1475. 00001038  2080                     move.l     [A0], D0
  1476. 0000103A  41EA 145C                lea.l      A0, [A2 + 0x145C]
  1477. 0000103E  7000                     moveq.l    D0, 0x00
  1478. 00001040  20C0                     move.l     [A0]+, D0
  1479. 00001042  2080                     move.l     [A0], D0
  1480. 00001044  41EA 1464                lea.l      A0, [A2 + 0x1464]
  1481. 00001048  7000                     moveq.l    D0, 0x00
  1482. 0000104A  20C0                     move.l     [A0]+, D0
  1483. 0000104C  2080                     move.l     [A0], D0
  1484. 0000104E  41EA 146C                lea.l      A0, [A2 + 0x146C]
  1485. 00001052  7000                     moveq.l    D0, 0x00
  1486. 00001054  20C0                     move.l     [A0]+, D0
  1487. 00001056  2080                     move.l     [A0], D0
  1488. 00001058  41EA 1474                lea.l      A0, [A2 + 0x1474]
  1489. 0000105C  7000                     moveq.l    D0, 0x00
  1490. 0000105E  20C0                     move.l     [A0]+, D0
  1491. 00001060  2080                     move.l     [A0], D0
  1492. 00001062  264A                     movea.l    A3, A2
  1493. 00001064  47EB 0678                lea.l      A3, [A3 + 0x678]
  1494. 00001068  7606                     moveq.l    D3, 0x06
  1495. 0000106A  6000 0184                bra        +0x186 /* 000011F0 */
  1496. label0000106E:
  1497. 0000106E  41EF 003E                lea.l      A0, [A7 + 0x3E]
  1498. 00001072  3003                     move.w     D0, D3
  1499. 00001074  0A00 0018                xori.b     D0, 0x18
  1500. 00001078  3200                     move.w     D1, D0
  1501. 0000107A  E648                     lsr        D0.w, 3
  1502. 0000107C  0330 0000                btst       [A0 + D0.w], D1
  1503. 00001080  6604                     bne        +0x6 /* 00001086 */
  1504. 00001082  7000                     moveq.l    D0, 0x00
  1505. 00001084  6002                     bra        +0x4 /* 00001088 */
  1506. label00001086:
  1507. 00001086  7001                     moveq.l    D0, 0x01
  1508. label00001088:
  1509. 00001088  4A00                     tst.b      D0
  1510. 0000108A  6700 015E                beq        +0x160 /* 000011EA */
  1511. 0000108E  4A13                     tst.b      [A3]
  1512. 00001090  6700 0158                beq        +0x15A /* 000011EA */
  1513. 00001094  4A6B 0008                tst.w      [A3 + 0x8]
  1514. 00001098  660C                     bne        +0xE /* 000010A6 */
  1515. 0000109A  102B 0014                move.b     D0, [A3 + 0x14]
  1516. 0000109E  0280 0000 00C0           andi.l     D0, 0xC0
  1517. 000010A4  675A                     beq        +0x5C /* 00001100 */
  1518. label000010A6:
  1519. 000010A6  41EA 1434                lea.l      A0, [A2 + 0x1434]
  1520. 000010AA  3003                     move.w     D0, D3
  1521. 000010AC  0A00 0018                xori.b     D0, 0x18
  1522. 000010B0  3200                     move.w     D1, D0
  1523. 000010B2  E648                     lsr        D0.w, 3
  1524. 000010B4  03F0                     .incomplete
  1525. 000010B6  0000 2F2B                ori.b      D0, 0x2B /* '+' */
  1526. 000010BA  0006 4EAD                ori.b      D6, 0xAD
  1527. 000010BE  B600                     cmp.b      D3, D0
  1528. 000010C0  2848                     movea.l    A4, A0
  1529. 000010C2  200C                     move.l     D0, A4
  1530. 000010C4  584F                     addq.w     A7, 4
  1531. 000010C6  6738                     beq        +0x3A /* 00001100 */
  1532. 000010C8  4A94                     tst.l      [A4]
  1533. 000010CA  6734                     beq        +0x36 /* 00001100 */
  1534. 000010CC  2054                     movea.l    A0, [A4]
  1535. 000010CE  2050                     movea.l    A0, [A0]
  1536. 000010D0  2828 0004                move.l     D4, [A0 + 0x4]
  1537. 000010D4  4A84                     tst.l      D4
  1538. 000010D6  6728                     beq        +0x2A /* 00001100 */
  1539. 000010D8  4878 0700                push.l     0x700
  1540. 000010DC  2F04                     move.l     -[A7], D4
  1541. 000010DE  2F2D 1C12                move.l     -[A7], [A5 + 0x1C12 /* export_894 */]
  1542. 000010E2  4EAD E370                jsr        [A5 - 0x1C90]
  1543. 000010E6  4A00                     tst.b      D0
  1544. 000010E8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1545. 000010EC  6712                     beq        +0x14 /* 00001100 */
  1546. 000010EE  41EA 1474                lea.l      A0, [A2 + 0x1474]
  1547. 000010F2  3003                     move.w     D0, D3
  1548. 000010F4  0A00 0018                xori.b     D0, 0x18
  1549. 000010F8  3200                     move.w     D1, D0
  1550. 000010FA  E648                     lsr        D0.w, 3
  1551. 000010FC  03F0                     .incomplete
  1552. 000010FE  0000 4857                ori.b      D0, 0x57 /* 'W' */
  1553. // begin alternate branch 00001100-00001102
  1554. label00001100:
  1555. 00001100  4857                     pea.l      [A7]
  1556. // end alternate branch 00001100-00001102
  1557. label00001100: // (misaligned)
  1558. 00001102  2F0A                     move.l     -[A7], A2
  1559. 00001104  42A7                     clr.l      -[A7]
  1560. 00001106  3F3C 000C                move.w     -[A7], 0xC
  1561. 0000110A  3F03                     move.w     -[A7], D3
  1562. 0000110C  4EBA FA1A                jsr        [PC - 0x5E6 /* 00000B28 */]
  1563. 00001110  4AAF 001C                tst.l      [A7 + 0x1C]
  1564. 00001114  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1565. 00001118  6700 00B0                beq        +0xB2 /* 000011CA */
  1566. 0000111C  206F 000C                movea.l    A0, [A7 + 0xC]
  1567. 00001120  2C50                     movea.l    A6, [A0]
  1568. 00001122  200E                     move.l     D0, A6
  1569. 00001124  6744                     beq        +0x46 /* 0000116A */
  1570. 00001126  2056                     movea.l    A0, [A6]
  1571. 00001128  2828 0004                move.l     D4, [A0 + 0x4]
  1572. 0000112C  4A84                     tst.l      D4
  1573. 0000112E  673A                     beq        +0x3C /* 0000116A */
  1574. 00001130  41EA 1434                lea.l      A0, [A2 + 0x1434]
  1575. 00001134  3003                     move.w     D0, D3
  1576. 00001136  0A00 0018                xori.b     D0, 0x18
  1577. 0000113A  3200                     move.w     D1, D0
  1578. 0000113C  E648                     lsr        D0.w, 3
  1579. 0000113E  03F0                     .incomplete
  1580. 00001140  0000 4878                ori.b      D0, 0x78 /* 'x' */
  1581. 00001144  0700                     btst       D0, D3
  1582. 00001146  2F04                     move.l     -[A7], D4
  1583. 00001148  2F2D 1C12                move.l     -[A7], [A5 + 0x1C12 /* export_894 */]
  1584. 0000114C  4EAD E370                jsr        [A5 - 0x1C90]
  1585. 00001150  4A00                     tst.b      D0
  1586. 00001152  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1587. 00001156  6712                     beq        +0x14 /* 0000116A */
  1588. 00001158  41EA 1474                lea.l      A0, [A2 + 0x1474]
  1589. 0000115C  3003                     move.w     D0, D3
  1590. 0000115E  0A00 0018                xori.b     D0, 0x18
  1591. 00001162  3200                     move.w     D1, D0
  1592. 00001164  E648                     lsr        D0.w, 3
  1593. 00001166  03F0                     .incomplete
  1594. 00001168  0000 206F                ori.b      D0, 0x6F /* 'o' */
  1595. // begin alternate branch 0000116A-00001174
  1596. label0000116A:
  1597. 0000116A  206F 000C                movea.l    A0, [A7 + 0xC]
  1598. 0000116E  0C28 000A 000E           cmpi.b     [A0 + 0xE], 0xA /* '\n' */
  1599. // end alternate branch 0000116A-00001174
  1600. label0000116A: // (misaligned)
  1601. 0000116C  000C 0C28                ori.b      A4, 0x28 /* '(' */
  1602. 00001170  000A 000E                ori.b      A2, 0xE
  1603. 00001174  6654                     bne        +0x56 /* 000011CA */
  1604. 00001176  2028 0020                move.l     D0, [A0 + 0x20]
  1605. 0000117A  7240                     moveq.l    D1, 0x40
  1606. 0000117C  C081                     and.l      D0, D1
  1607. 0000117E  4A80                     tst.l      D0
  1608. 00001180  6712                     beq        +0x14 /* 00001194 */
  1609. 00001182  41EA 1434                lea.l      A0, [A2 + 0x1434]
  1610. 00001186  3003                     move.w     D0, D3
  1611. 00001188  0A00 0018                xori.b     D0, 0x18
  1612. 0000118C  3200                     move.w     D1, D0
  1613. 0000118E  E648                     lsr        D0.w, 3
  1614. 00001190  03F0                     .incomplete
  1615. 00001192  0000 206F                ori.b      D0, 0x6F /* 'o' */
  1616. // begin alternate branch 00001194-0000119E
  1617. label00001194:
  1618. 00001194  206F 000C                movea.l    A0, [A7 + 0xC]
  1619. 00001198  2028 0020                move.l     D0, [A0 + 0x20]
  1620. 0000119C  7220                     moveq.l    D1, 0x20
  1621. // end alternate branch 00001194-0000119E
  1622. label00001194: // (misaligned)
  1623. 00001196  000C 2028                ori.b      A4, 0x28 /* '(' */
  1624. 0000119A  0020 7220                ori.b      -[A0], 0x20 /* ' ' */
  1625. 0000119E  C081                     and.l      D0, D1
  1626. 000011A0  4A80                     tst.l      D0
  1627. 000011A2  6614                     bne        +0x16 /* 000011B8 */
  1628. 000011A4  41EA 1484                lea.l      A0, [A2 + 0x1484]
  1629. 000011A8  3003                     move.w     D0, D3
  1630. 000011AA  0A00 0018                xori.b     D0, 0x18
  1631. 000011AE  3200                     move.w     D1, D0
  1632. 000011B0  E648                     lsr        D0.w, 3
  1633. 000011B2  03F0                     .incomplete
  1634. 000011B4  0000 6012                ori.b      D0, 0x12
  1635. label000011B8:
  1636. 000011B8  41EA 147C                lea.l      A0, [A2 + 0x147C]
  1637. 000011BC  3003                     move.w     D0, D3
  1638. 000011BE  0A00 0018                xori.b     D0, 0x18
  1639. 000011C2  3200                     move.w     D1, D0
  1640. 000011C4  E648                     lsr        D0.w, 3
  1641. 000011C6  03F0                     .incomplete
  1642. 000011C8  0000 4A2A                ori.b      D0, 0x2A /* '*' */
  1643. // begin alternate branch 000011CA-000011CE
  1644. label000011CA:
  1645. 000011CA  4A2A 1700                tst.b      [A2 + 0x1700]
  1646. // end alternate branch 000011CA-000011CE
  1647. label000011CA: // (misaligned)
  1648. 000011CC  1700                     move.b     -[A3], D0
  1649. 000011CE  671A                     beq        +0x1C /* 000011EA */
  1650. 000011D0  3003                     move.w     D0, D3
  1651. 000011D2  48C0                     ext.l      D0
  1652. 000011D4  5D80                     subq.l     D0, 6
  1653. 000011D6  E788                     lsl        D0, 3
  1654. 000011D8  204A                     movea.l    A0, A2
  1655. 000011DA  D1C0                     add.l      A0, D0
  1656. 000011DC  4868 0AF8                pea.l      [A0 + 0xAF8]
  1657. 000011E0  486A 12DC                pea.l      [A2 + 0x12DC]
  1658. 000011E4  486A 12E4                pea.l      [A2 + 0x12E4]
  1659. 000011E8  A8FA                     syscall    MapRect
  1660. label000011EA:
  1661. 000011EA  5243                     addq.w     D3, 1
  1662. 000011EC  7018                     moveq.l    D0, 0x18
  1663. 000011EE  D7C0                     add.l      A3, D0
  1664. label000011F0:
  1665. 000011F0  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  1666. 000011F4  6F00 FE78                ble        -0x186 /* 0000106E */
  1667. 000011F8  41EA 1444                lea.l      A0, [A2 + 0x1444]
  1668. 000011FC  2018                     move.l     D0, [A0]+
  1669. 000011FE  8090                     or.l       D0, [A0]
  1670. 00001200  6604                     bne        +0x6 /* 00001206 */
  1671. 00001202  7001                     moveq.l    D0, 0x01
  1672. 00001204  6002                     bra        +0x4 /* 00001208 */
  1673. label00001206:
  1674. 00001206  7000                     moveq.l    D0, 0x00
  1675. label00001208:
  1676. 00001208  4A00                     tst.b      D0
  1677. 0000120A  6600 00B6                bne        +0xB8 /* 000012C2 */
  1678. 0000120E  41EA 12EC                lea.l      A0, [A2 + 0x12EC]
  1679. 00001212  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1680. 00001216  2019                     move.l     D0, [A1]+
  1681. 00001218  4680                     not.l      D0
  1682. 0000121A  C198                     and.l      [A0]+, D0
  1683. 0000121C  2011                     move.l     D0, [A1]
  1684. 0000121E  4680                     not.l      D0
  1685. 00001220  C190                     and.l      [A0], D0
  1686. 00001222  41EA 1484                lea.l      A0, [A2 + 0x1484]
  1687. 00001226  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1688. 0000122A  2019                     move.l     D0, [A1]+
  1689. 0000122C  4680                     not.l      D0
  1690. 0000122E  C198                     and.l      [A0]+, D0
  1691. 00001230  2011                     move.l     D0, [A1]
  1692. 00001232  4680                     not.l      D0
  1693. 00001234  C190                     and.l      [A0], D0
  1694. 00001236  41EA 147C                lea.l      A0, [A2 + 0x147C]
  1695. 0000123A  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1696. 0000123E  2019                     move.l     D0, [A1]+
  1697. 00001240  4680                     not.l      D0
  1698. 00001242  C198                     and.l      [A0]+, D0
  1699. 00001244  2011                     move.l     D0, [A1]
  1700. 00001246  4680                     not.l      D0
  1701. 00001248  C190                     and.l      [A0], D0
  1702. 0000124A  41EA 1434                lea.l      A0, [A2 + 0x1434]
  1703. 0000124E  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1704. 00001252  2019                     move.l     D0, [A1]+
  1705. 00001254  4680                     not.l      D0
  1706. 00001256  C198                     and.l      [A0]+, D0
  1707. 00001258  2011                     move.l     D0, [A1]
  1708. 0000125A  4680                     not.l      D0
  1709. 0000125C  C190                     and.l      [A0], D0
  1710. 0000125E  41EA 144C                lea.l      A0, [A2 + 0x144C]
  1711. 00001262  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1712. 00001266  2019                     move.l     D0, [A1]+
  1713. 00001268  4680                     not.l      D0
  1714. 0000126A  C198                     and.l      [A0]+, D0
  1715. 0000126C  2011                     move.l     D0, [A1]
  1716. 0000126E  4680                     not.l      D0
  1717. 00001270  C190                     and.l      [A0], D0
  1718. 00001272  41EA 1454                lea.l      A0, [A2 + 0x1454]
  1719. 00001276  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1720. 0000127A  2019                     move.l     D0, [A1]+
  1721. 0000127C  4680                     not.l      D0
  1722. 0000127E  C198                     and.l      [A0]+, D0
  1723. 00001280  2011                     move.l     D0, [A1]
  1724. 00001282  4680                     not.l      D0
  1725. 00001284  C190                     and.l      [A0], D0
  1726. 00001286  41EA 145C                lea.l      A0, [A2 + 0x145C]
  1727. 0000128A  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1728. 0000128E  2019                     move.l     D0, [A1]+
  1729. 00001290  4680                     not.l      D0
  1730. 00001292  C198                     and.l      [A0]+, D0
  1731. 00001294  2011                     move.l     D0, [A1]
  1732. 00001296  4680                     not.l      D0
  1733. 00001298  C190                     and.l      [A0], D0
  1734. 0000129A  41EA 1464                lea.l      A0, [A2 + 0x1464]
  1735. 0000129E  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1736. 000012A2  2019                     move.l     D0, [A1]+
  1737. 000012A4  4680                     not.l      D0
  1738. 000012A6  C198                     and.l      [A0]+, D0
  1739. 000012A8  2011                     move.l     D0, [A1]
  1740. 000012AA  4680                     not.l      D0
  1741. 000012AC  C190                     and.l      [A0], D0
  1742. 000012AE  41EA 146C                lea.l      A0, [A2 + 0x146C]
  1743. 000012B2  43EA 1444                lea.l      A1, [A2 + 0x1444]
  1744. 000012B6  2019                     move.l     D0, [A1]+
  1745. 000012B8  4680                     not.l      D0
  1746. 000012BA  C198                     and.l      [A0]+, D0
  1747. 000012BC  2011                     move.l     D0, [A1]
  1748. 000012BE  4680                     not.l      D0
  1749. 000012C0  C190                     and.l      [A0], D0
  1750. label000012C2:
  1751. 000012C2  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  1752. 000012C6  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1753. 000012CA  4E75                     rts
  1754. fn000012CC:
  1755. 000012CC  48E7 1030                movem.l    -[A7], D3,A2,A3
  1756. 000012D0  7635                     moveq.l    D3, 0x35
  1757. 000012D2  605A                     bra        +0x5C /* 0000132E */
  1758. label000012D4:
  1759. 000012D4  3003                     move.w     D0, D3
  1760. 000012D6  48C0                     ext.l      D0
  1761. 000012D8  5980                     subq.l     D0, 4
  1762. 000012DA  4C3C 0800 0000           movem.w    A3, 0x0
  1763. 000012E0  0018 246D                ori.b      [A0]+, 0x6D /* 'm' */
  1764. 000012E4  1C1A                     move.b     D6, [A2]+
  1765. 000012E6  D5C0                     add.l      A2, D0
  1766. 000012E8  45EA 0648                lea.l      A2, [A2 + 0x648]
  1767. 000012EC  0C12 0010                cmpi.b     [A2], 0x10
  1768. 000012F0  663A                     bne        +0x3C /* 0000132C */
  1769. 000012F2  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  1770. 000012F6  4EAD B600                jsr        [A5 - 0x4A00]
  1771. 000012FA  2648                     movea.l    A3, A0
  1772. 000012FC  2008                     move.l     D0, A0
  1773. 000012FE  4A80                     tst.l      D0
  1774. 00001300  584F                     addq.w     A7, 4
  1775. 00001302  6728                     beq        +0x2A /* 0000132C */
  1776. 00001304  0C2B 0001 000E           cmpi.b     [A3 + 0xE], 0x1
  1777. 0000130A  6620                     bne        +0x22 /* 0000132C */
  1778. 0000130C  102A 0001                move.b     D0, [A2 + 0x1]
  1779. 00001310  723F                     moveq.l    D1, 0x3F
  1780. 00001312  C081                     and.l      D0, D1
  1781. 00001314  5180                     subq.l     D0, 8
  1782. 00001316  6614                     bne        +0x16 /* 0000132C */
  1783. 00001318  4AAB 0010                tst.l      [A3 + 0x10]
  1784. 0000131C  660E                     bne        +0x10 /* 0000132C */
  1785. 0000131E  4227                     clr.b      -[A7]
  1786. 00001320  4227                     clr.b      -[A7]
  1787. 00001322  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  1788. 00001326  4EAD AB08                jsr        [A5 - 0x54F8]
  1789. 0000132A  504F                     addq.w     A7, 8
  1790. label0000132C:
  1791. 0000132C  5343                     subq.w     D3, 1
  1792. label0000132E:
  1793. 0000132E  0C43 0006                cmpi.w     D3, 0x6
  1794. 00001332  6CA0                     bge        -0x5E /* 000012D4 */
  1795. 00001334  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1796. 00001338  4E75                     rts
  1797. fn0000133A:
  1798. 0000133A  48E7 1820                movem.l    -[A7], D3,D4,A2
  1799. 0000133E  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  1800. 00001342  246F 0020                movea.l    A2, [A7 + 0x20]
  1801. 00001346  554F                     subq.w     A7, 2
  1802. 00001348  2F0A                     move.l     -[A7], A2
  1803. 0000134A  A8AE                     syscall    EmptyRect
  1804. 0000134C  101F                     move.b     D0, [A7]+
  1805. 0000134E  6600 00D4                bne        +0xD6 /* 00001424 */
  1806. 00001352  7800                     moveq.l    D4, 0x00
  1807. 00001354  2F52 0008                move.l     [A7 + 0x8], [A2]
  1808. 00001358  2F6A 0004 000C           move.l     [A7 + 0xC], [A2 + 0x4]
  1809. label0000135E:
  1810. 0000135E  7800                     moveq.l    D4, 0x00
  1811. 00001360  7600                     moveq.l    D3, 0x00
  1812. 00001362  206D 20A0                movea.l    A0, [A5 + 0x20A0]
  1813. 00001366  2450                     movea.l    A2, [A0]
  1814. 00001368  605C                     bra        +0x5E /* 000013C6 */
  1815. label0000136A:
  1816. 0000136A  554F                     subq.w     A7, 2
  1817. 0000136C  486F 000A                pea.l      [A7 + 0xA]
  1818. 00001370  2F0A                     move.l     -[A7], A2
  1819. 00001372  486F 000A                pea.l      [A7 + 0xA]
  1820. 00001376  A8AA                     syscall    SectRect
  1821. 00001378  101F                     move.b     D0, [A7]+
  1822. 0000137A  6746                     beq        +0x48 /* 000013C2 */
  1823. 0000137C  486F 0008                pea.l      [A7 + 0x8]
  1824. 00001380  2F0A                     move.l     -[A7], A2
  1825. 00001382  486F 0010                pea.l      [A7 + 0x10]
  1826. 00001386  A8AB                     syscall    UnionRect
  1827. 00001388  302D 20A6                move.w     D0, [A5 + 0x20A6]
  1828. 0000138C  48C0                     ext.l      D0
  1829. 0000138E  5380                     subq.l     D0, 1
  1830. 00001390  3203                     move.w     D1, D3
  1831. 00001392  48C1                     ext.l      D1
  1832. 00001394  B280                     cmp.l      D1, D0
  1833. 00001396  6C1A                     bge        +0x1C /* 000013B2 */
  1834. 00001398  302D 20A6                move.w     D0, [A5 + 0x20A6]
  1835. 0000139C  48C0                     ext.l      D0
  1836. 0000139E  5380                     subq.l     D0, 1
  1837. 000013A0  E788                     lsl        D0, 3
  1838. 000013A2  206D 20A0                movea.l    A0, [A5 + 0x20A0]
  1839. 000013A6  2050                     movea.l    A0, [A0]
  1840. 000013A8  D1C0                     add.l      A0, D0
  1841. 000013AA  2490                     move.l     [A2], [A0]
  1842. 000013AC  2568 0004 0004           move.l     [A2 + 0x4], [A0 + 0x4]
  1843. label000013B2:
  1844. 000013B2  302D 20A6                move.w     D0, [A5 + 0x20A6]
  1845. 000013B6  48C0                     ext.l      D0
  1846. 000013B8  5380                     subq.l     D0, 1
  1847. 000013BA  3B40 20A6                move.w     [A5 + 0x20A6], D0
  1848. 000013BE  7801                     moveq.l    D4, 0x01
  1849. 000013C0  6004                     bra        +0x6 /* 000013C6 */
  1850. label000013C2:
  1851. 000013C2  508A                     addq.l     A2, 8
  1852. 000013C4  5243                     addq.w     D3, 1
  1853. label000013C6:
  1854. 000013C6  B66D 20A6                cmp.w      D3, [A5 + 0x20A6]
  1855. 000013CA  6D9E                     blt        -0x60 /* 0000136A */
  1856. 000013CC  4A04                     tst.b      D4
  1857. 000013CE  668E                     bne        -0x70 /* 0000135E */
  1858. 000013D0  302D 20A6                move.w     D0, [A5 + 0x20A6]
  1859. 000013D4  B06D 20A4                cmp.w      D0, [A5 + 0x20A4]
  1860. 000013D8  6D2C                     blt        +0x2E /* 00001406 */
  1861. 000013DA  362D 20A4                move.w     D3, [A5 + 0x20A4]
  1862. 000013DE  48C3                     ext.l      D3
  1863. 000013E0  725E                     moveq.l    D1, 0x5E
  1864. 000013E2  D681                     add.l      D3, D1
  1865. 000013E4  4878 0001                push.l     0x1
  1866. 000013E8  3003                     move.w     D0, D3
  1867. 000013EA  48C0                     ext.l      D0
  1868. 000013EC  E788                     lsl        D0, 3
  1869. 000013EE  2F00                     move.l     -[A7], D0
  1870. 000013F0  2F2D 20A0                move.l     -[A7], [A5 + 0x20A0]
  1871. 000013F4  4EAD C2D8                jsr        [A5 - 0x3D28]
  1872. 000013F8  4A6D 0874                tst.w      [A5 + 0x874]
  1873. 000013FC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1874. 00001400  6622                     bne        +0x24 /* 00001424 */
  1875. 00001402  3B43 20A4                move.w     [A5 + 0x20A4], D3
  1876. label00001406:
  1877. 00001406  306D 20A6                movea.w    A0, [A5 + 0x20A6]
  1878. 0000140A  2008                     move.l     D0, A0
  1879. 0000140C  E788                     lsl        D0, 3
  1880. 0000140E  206D 20A0                movea.l    A0, [A5 + 0x20A0]
  1881. 00001412  2050                     movea.l    A0, [A0]
  1882. 00001414  D1C0                     add.l      A0, D0
  1883. 00001416  20AF 0008                move.l     [A0], [A7 + 0x8]
  1884. 0000141A  216F 000C 0004           move.l     [A0 + 0x4], [A7 + 0xC]
  1885. 00001420  526D 20A6                addq.w     [A5 + 0x20A6], 1
  1886. label00001424:
  1887. 00001424  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1888. 00001428  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  1889. 0000142C  4E75                     rts
  1890. fn0000142E:
  1891. 0000142E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1892. 00001432  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  1893. 00001436  554F                     subq.w     A7, 2
  1894. 00001438  2F2F 0042                move.l     -[A7], [A7 + 0x42]
  1895. 0000143C  486D 2316                pea.l      [A5 + 0x2316]
  1896. 00001440  486F 000A                pea.l      [A7 + 0xA]
  1897. 00001444  A8AA                     syscall    SectRect
  1898. 00001446  101F                     move.b     D0, [A7]+
  1899. 00001448  554F                     subq.w     A7, 2
  1900. 0000144A  486F 0002                pea.l      [A7 + 0x2]
  1901. 0000144E  486D 20AA                pea.l      [A5 + 0x20AA /* export_1041 */]
  1902. 00001452  486D 2098                pea.l      [A5 + 0x2098]
  1903. 00001456  A8AA                     syscall    SectRect
  1904. 00001458  101F                     move.b     D0, [A7]+
  1905. 0000145A  6700 0170                beq        +0x172 /* 000015CC */
  1906. 0000145E  362D 2098                move.w     D3, [A5 + 0x2098]
  1907. 00001462  382D 209A                move.w     D4, [A5 + 0x209A /* export_1039 */]
  1908. 00001466  3A2D 209C                move.w     D5, [A5 + 0x209C]
  1909. 0000146A  3C2D 209E                move.w     D6, [A5 + 0x209E]
  1910. 0000146E  42AF 0008                clr.l      [A7 + 0x8]
  1911. 00001472  99CC                     sub.l      A4, A4
  1912. 00001474  2F6F 0044 000C           move.l     [A7 + 0xC], [A7 + 0x44]
  1913. 0000147A  2F6F 0048 0010           move.l     [A7 + 0x10], [A7 + 0x48]
  1914. 00001480  486D 2098                pea.l      [A5 + 0x2098]
  1915. 00001484  A87B                     syscall    ClipRect
  1916. 00001486  266F 003C                movea.l    A3, [A7 + 0x3C]
  1917. 0000148A  47EB 0AE0                lea.l      A3, [A3 + 0xAE0]
  1918. 0000148E  246F 003C                movea.l    A2, [A7 + 0x3C]
  1919. 00001492  45EA 0C70                lea.l      A2, [A2 + 0xC70]
  1920. 00001496  7E35                     moveq.l    D7, 0x35
  1921. 00001498  6000 00AA                bra        +0xAC /* 00001544 */
  1922. label0000149C:
  1923. 0000149C  41EF 000C                lea.l      A0, [A7 + 0xC]
  1924. 000014A0  3007                     move.w     D0, D7
  1925. 000014A2  0A00 0018                xori.b     D0, 0x18
  1926. 000014A6  3200                     move.w     D1, D0
  1927. 000014A8  E648                     lsr        D0.w, 3
  1928. 000014AA  0330 0000                btst       [A0 + D0.w], D1
  1929. 000014AE  6604                     bne        +0x6 /* 000014B4 */
  1930. 000014B0  7000                     moveq.l    D0, 0x00
  1931. 000014B2  6002                     bra        +0x4 /* 000014B6 */
  1932. label000014B4:
  1933. 000014B4  7001                     moveq.l    D0, 0x01
  1934. label000014B6:
  1935. 000014B6  4A00                     tst.b      D0
  1936. 000014B8  6700 0082                beq        +0x84 /* 0000153C */
  1937. 000014BC  200C                     move.l     D0, A4
  1938. 000014BE  4A80                     tst.l      D0
  1939. 000014C0  6602                     bne        +0x4 /* 000014C4 */
  1940. 000014C2  2847                     movea.l    A4, D7
  1941. label000014C4:
  1942. 000014C4  BA6A 0004                cmp.w      D5, [A2 + 0x4]
  1943. 000014C8  6E4C                     bgt        +0x4E /* 00001516 */
  1944. 000014CA  B652                     cmp.w      D3, [A2]
  1945. 000014CC  6D48                     blt        +0x4A /* 00001516 */
  1946. 000014CE  B86A 0002                cmp.w      D4, [A2 + 0x2]
  1947. 000014D2  6D42                     blt        +0x44 /* 00001516 */
  1948. 000014D4  BC6A 0006                cmp.w      D6, [A2 + 0x6]
  1949. 000014D8  6E3C                     bgt        +0x3E /* 00001516 */
  1950. 000014DA  102B 0016                move.b     D0, [A3 + 0x16]
  1951. 000014DE  7210                     moveq.l    D1, 0x10
  1952. 000014E0  C081                     and.l      D0, D1
  1953. 000014E2  6632                     bne        +0x34 /* 00001516 */
  1954. 000014E4  102B 0001                move.b     D0, [A3 + 0x1]
  1955. 000014E8  723F                     moveq.l    D1, 0x3F
  1956. 000014EA  C081                     and.l      D0, D1
  1957. 000014EC  4A80                     tst.l      D0
  1958. 000014EE  6626                     bne        +0x28 /* 00001516 */
  1959. 000014F0  0C13 0010                cmpi.b     [A3], 0x10
  1960. 000014F4  6620                     bne        +0x22 /* 00001516 */
  1961. 000014F6  2F2B 0002                move.l     -[A7], [A3 + 0x2]
  1962. 000014FA  4EAD B600                jsr        [A5 - 0x4A00]
  1963. 000014FE  2C48                     movea.l    A6, A0
  1964. 00001500  2008                     move.l     D0, A0
  1965. 00001502  4A80                     tst.l      D0
  1966. 00001504  584F                     addq.w     A7, 4
  1967. 00001506  670E                     beq        +0x10 /* 00001516 */
  1968. 00001508  0C2E 0001 000E           cmpi.b     [A6 + 0xE], 0x1
  1969. 0000150E  6606                     bne        +0x8 /* 00001516 */
  1970. 00001510  2F47 0008                move.l     [A7 + 0x8], D7
  1971. 00001514  6036                     bra        +0x38 /* 0000154C */
  1972. label00001516:
  1973. 00001516  41EF 000C                lea.l      A0, [A7 + 0xC]
  1974. 0000151A  3007                     move.w     D0, D7
  1975. 0000151C  0A00 0018                xori.b     D0, 0x18
  1976. 00001520  3200                     move.w     D1, D0
  1977. 00001522  E648                     lsr        D0.w, 3
  1978. 00001524  03B0 0000                bclr       [A0 + D0.w], D1
  1979. 00001528  41EF 000C                lea.l      A0, [A7 + 0xC]
  1980. 0000152C  2018                     move.l     D0, [A0]+
  1981. 0000152E  8090                     or.l       D0, [A0]
  1982. 00001530  6604                     bne        +0x6 /* 00001536 */
  1983. 00001532  7001                     moveq.l    D0, 0x01
  1984. 00001534  6002                     bra        +0x4 /* 00001538 */
  1985. label00001536:
  1986. 00001536  7000                     moveq.l    D0, 0x00
  1987. label00001538:
  1988. 00001538  4A00                     tst.b      D0
  1989. 0000153A  6610                     bne        +0x12 /* 0000154C */
  1990. label0000153C:
  1991. 0000153C  5387                     subq.l     D7, 1
  1992. 0000153E  7018                     moveq.l    D0, 0x18
  1993. 00001540  97C0                     sub.l      A3, D0
  1994. 00001542  518A                     subq.l     A2, 8
  1995. label00001544:
  1996. 00001544  7006                     moveq.l    D0, 0x06
  1997. 00001546  BE80                     cmp.l      D7, D0
  1998. 00001548  6400 FF52                bcc        -0xAC /* 0000149C */
  1999. label0000154C:
  2000. 0000154C  4AAF 0008                tst.l      [A7 + 0x8]
  2001. 00001550  6610                     bne        +0x12 /* 00001562 */
  2002. 00001552  7006                     moveq.l    D0, 0x06
  2003. 00001554  2F40 0008                move.l     [A7 + 0x8], D0
  2004. 00001558  486D 2098                pea.l      [A5 + 0x2098]
  2005. 0000155C  4EBA 1734                jsr        [PC + 0x1734 /* 00002C92 */]
  2006. 00001560  584F                     addq.w     A7, 4
  2007. label00001562:
  2008. 00001562  202F 0008                move.l     D0, [A7 + 0x8]
  2009. 00001566  5D80                     subq.l     D0, 6
  2010. 00001568  E788                     lsl        D0, 3
  2011. 0000156A  246F 003C                movea.l    A2, [A7 + 0x3C]
  2012. 0000156E  D5C0                     add.l      A2, D0
  2013. 00001570  45EA 0AF8                lea.l      A2, [A2 + 0xAF8]
  2014. 00001574  2E2F 0008                move.l     D7, [A7 + 0x8]
  2015. 00001578  6044                     bra        +0x46 /* 000015BE */
  2016. label0000157A:
  2017. 0000157A  41EF 0044                lea.l      A0, [A7 + 0x44]
  2018. 0000157E  3007                     move.w     D0, D7
  2019. 00001580  0A00 0018                xori.b     D0, 0x18
  2020. 00001584  3200                     move.w     D1, D0
  2021. 00001586  E648                     lsr        D0.w, 3
  2022. 00001588  0330 0000                btst       [A0 + D0.w], D1
  2023. 0000158C  6604                     bne        +0x6 /* 00001592 */
  2024. 0000158E  7000                     moveq.l    D0, 0x00
  2025. 00001590  6002                     bra        +0x4 /* 00001594 */
  2026. label00001592:
  2027. 00001592  7001                     moveq.l    D0, 0x01
  2028. label00001594:
  2029. 00001594  4A00                     tst.b      D0
  2030. 00001596  6722                     beq        +0x24 /* 000015BA */
  2031. 00001598  B66A 0004                cmp.w      D3, [A2 + 0x4]
  2032. 0000159C  6E1C                     bgt        +0x1E /* 000015BA */
  2033. 0000159E  BA52                     cmp.w      D5, [A2]
  2034. 000015A0  6D18                     blt        +0x1A /* 000015BA */
  2035. 000015A2  BC6A 0002                cmp.w      D6, [A2 + 0x2]
  2036. 000015A6  6D12                     blt        +0x14 /* 000015BA */
  2037. 000015A8  B86A 0006                cmp.w      D4, [A2 + 0x6]
  2038. 000015AC  6E0C                     bgt        +0xE /* 000015BA */
  2039. 000015AE  2F2F 003C                move.l     -[A7], [A7 + 0x3C]
  2040. 000015B2  3F07                     move.w     -[A7], D7
  2041. 000015B4  4EBA F24A                jsr        [PC - 0xDB6 /* 00000800 */]
  2042. 000015B8  5C4F                     addq.w     A7, 6
  2043. label000015BA:
  2044. 000015BA  5287                     addq.l     D7, 1
  2045. 000015BC  508A                     addq.l     A2, 8
  2046. label000015BE:
  2047. 000015BE  BE8C                     cmp.l      D7, A4
  2048. 000015C0  63B8                     bls        -0x46 /* 0000157A */
  2049. 000015C2  486D 2098                pea.l      [A5 + 0x2098]
  2050. 000015C6  4EAD D9E0                jsr        [A5 - 0x2620]
  2051. 000015CA  584F                     addq.w     A7, 4
  2052. label000015CC:
  2053. 000015CC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2054. 000015D0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2055. 000015D4  4E75                     rts
  2056. fn000015D6:
  2057. 000015D6  2F03                     move.l     -[A7], D3
  2058. 000015D8  514F                     subq.w     A7, 8
  2059. 000015DA  4A2D 207C                tst.b      [A5 + 0x207C]
  2060. 000015DE  666A                     bne        +0x6C /* 0000164A */
  2061. 000015E0  554F                     subq.w     A7, 2
  2062. 000015E2  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2063. 000015E6  486D 2316                pea.l      [A5 + 0x2316]
  2064. 000015EA  486D 2098                pea.l      [A5 + 0x2098]
  2065. 000015EE  A8AA                     syscall    SectRect
  2066. 000015F0  101F                     move.b     D0, [A7]+
  2067. 000015F2  4857                     pea.l      [A7]
  2068. 000015F4  486D 2098                pea.l      [A5 + 0x2098]
  2069. 000015F8  486D 20DE                pea.l      [A5 + 0x20DE]
  2070. 000015FC  4EBA ECB4                jsr        [PC - 0x134C /* 000002B2 */]
  2071. 00001600  7606                     moveq.l    D3, 0x06
  2072. 00001602  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2073. 00001606  6030                     bra        +0x32 /* 00001638 */
  2074. label00001608:
  2075. 00001608  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  2076. 0000160C  41E8 1444                lea.l      A0, [A0 + 0x1444]
  2077. 00001610  3003                     move.w     D0, D3
  2078. 00001612  0A00 0018                xori.b     D0, 0x18
  2079. 00001616  3200                     move.w     D1, D0
  2080. 00001618  E648                     lsr        D0.w, 3
  2081. 0000161A  0330 0000                btst       [A0 + D0.w], D1
  2082. 0000161E  6604                     bne        +0x6 /* 00001624 */
  2083. 00001620  7000                     moveq.l    D0, 0x00
  2084. 00001622  6002                     bra        +0x4 /* 00001626 */
  2085. label00001624:
  2086. 00001624  7001                     moveq.l    D0, 0x01
  2087. label00001626:
  2088. 00001626  4A00                     tst.b      D0
  2089. 00001628  660C                     bne        +0xE /* 00001636 */
  2090. 0000162A  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  2091. 0000162E  3F03                     move.w     -[A7], D3
  2092. 00001630  4EBA F1CE                jsr        [PC - 0xE32 /* 00000800 */]
  2093. 00001634  5C4F                     addq.w     A7, 6
  2094. label00001636:
  2095. 00001636  5243                     addq.w     D3, 1
  2096. label00001638:
  2097. 00001638  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  2098. 0000163C  6FCA                     ble        -0x34 /* 00001608 */
  2099. 0000163E  4857                     pea.l      [A7]
  2100. 00001640  486D 20DE                pea.l      [A5 + 0x20DE]
  2101. 00001644  4EBA ECE0                jsr        [PC - 0x1320 /* 00000326 */]
  2102. 00001648  504F                     addq.w     A7, 8
  2103. label0000164A:
  2104. 0000164A  504F                     addq.w     A7, 8
  2105. 0000164C  261F                     move.l     D3, [A7]+
  2106. 0000164E  4E75                     rts
  2107. fn00001650:
  2108. 00001650  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  2109. 00001654  4FEF FFAA                lea.l      A7, [A7 - 0x56]
  2110. 00001658  246F 0070                movea.l    A2, [A7 + 0x70]
  2111. 0000165C  2C6F 0074                movea.l    A6, [A7 + 0x74]
  2112. 00001660  266F 0078                movea.l    A3, [A7 + 0x78]
  2113. 00001664  302A 16F8                move.w     D0, [A2 + 0x16F8]
  2114. 00001668  7210                     moveq.l    D1, 0x10
  2115. 0000166A  C081                     and.l      D0, D1
  2116. 0000166C  4A80                     tst.l      D0
  2117. 0000166E  6710                     beq        +0x12 /* 00001680 */
  2118. 00001670  026A FFEF 16F8           andi.w     [A2 + 0x16F8], 0xFFEF
  2119. 00001676  486D 20AA                pea.l      [A5 + 0x20AA /* export_1041 */]
  2120. 0000167A  4EBA FCBE                jsr        [PC - 0x342 /* 0000133A */]
  2121. 0000167E  584F                     addq.w     A7, 4
  2122. label00001680:
  2123. 00001680  4227                     clr.b      -[A7]
  2124. 00001682  4227                     clr.b      -[A7]
  2125. 00001684  486F 0042                pea.l      [A7 + 0x42]
  2126. 00001688  486A 0648                pea.l      [A2 + 0x648]
  2127. 0000168C  4EAD C5E0                jsr        [A5 - 0x3A20]
  2128. 00001690  4227                     clr.b      -[A7]
  2129. 00001692  4227                     clr.b      -[A7]
  2130. 00001694  486F 0046                pea.l      [A7 + 0x46]
  2131. 00001698  486A 0C78                pea.l      [A2 + 0xC78]
  2132. 0000169C  4EAD C5E0                jsr        [A5 - 0x3A20]
  2133. 000016A0  41EF 004E                lea.l      A0, [A7 + 0x4E]
  2134. 000016A4  43EA 1444                lea.l      A1, [A2 + 0x1444]
  2135. 000016A8  2019                     move.l     D0, [A1]+
  2136. 000016AA  4680                     not.l      D0
  2137. 000016AC  C198                     and.l      [A0]+, D0
  2138. 000016AE  2011                     move.l     D0, [A1]
  2139. 000016B0  4680                     not.l      D0
  2140. 000016B2  C190                     and.l      [A0], D0
  2141. 000016B4  4A2F 0086                tst.b      [A7 + 0x86]
  2142. 000016B8  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2143. 000016BC  6712                     beq        +0x14 /* 000016D0 */
  2144. 000016BE  2F2F 0042                move.l     -[A7], [A7 + 0x42]
  2145. 000016C2  2F2F 0042                move.l     -[A7], [A7 + 0x42]
  2146. 000016C6  2F0A                     move.l     -[A7], A2
  2147. 000016C8  4EBA F91E                jsr        [PC - 0x6E2 /* 00000FE8 */]
  2148. 000016CC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2149. label000016D0:
  2150. 000016D0  41EF 003E                lea.l      A0, [A7 + 0x3E]
  2151. 000016D4  43EA 1444                lea.l      A1, [A2 + 0x1444]
  2152. 000016D8  2019                     move.l     D0, [A1]+
  2153. 000016DA  4680                     not.l      D0
  2154. 000016DC  C198                     and.l      [A0]+, D0
  2155. 000016DE  2011                     move.l     D0, [A1]
  2156. 000016E0  4680                     not.l      D0
  2157. 000016E2  C190                     and.l      [A0], D0
  2158. 000016E4  486F 004E                pea.l      [A7 + 0x4E]
  2159. 000016E8  486A 0C78                pea.l      [A2 + 0xC78]
  2160. 000016EC  486A 0648                pea.l      [A2 + 0x648]
  2161. 000016F0  4EAD C5F8                jsr        [A5 - 0x3A08]
  2162. 000016F4  41EF 005A                lea.l      A0, [A7 + 0x5A]
  2163. 000016F8  43EA 1444                lea.l      A1, [A2 + 0x1444]
  2164. 000016FC  2019                     move.l     D0, [A1]+
  2165. 000016FE  4680                     not.l      D0
  2166. 00001700  C198                     and.l      [A0]+, D0
  2167. 00001702  2011                     move.l     D0, [A1]
  2168. 00001704  4680                     not.l      D0
  2169. 00001706  C190                     and.l      [A0], D0
  2170. 00001708  486F 005A                pea.l      [A7 + 0x5A]
  2171. 0000170C  486A 12EC                pea.l      [A2 + 0x12EC]
  2172. 00001710  486F 005A                pea.l      [A7 + 0x5A]
  2173. 00001714  4EAD D8A8                jsr        [A5 - 0x2758]
  2174. 00001718  4A2D 1BCC                tst.b      [A5 + 0x1BCC]
  2175. 0000171C  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2176. 00001720  6608                     bne        +0xA /* 0000172A */
  2177. 00001722  4EAD AEE8                jsr        [A5 - 0x5118]
  2178. 00001726  4A00                     tst.b      D0
  2179. 00001728  6714                     beq        +0x16 /* 0000173E */
  2180. label0000172A:
  2181. 0000172A  486A 1484                pea.l      [A2 + 0x1484]
  2182. 0000172E  486F 0052                pea.l      [A7 + 0x52]
  2183. 00001732  486F 0056                pea.l      [A7 + 0x56]
  2184. 00001736  4EAD D8A0                jsr        [A5 - 0x2760]
  2185. 0000173A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2186. label0000173E:
  2187. 0000173E  41EF 0046                lea.l      A0, [A7 + 0x46]
  2188. 00001742  2018                     move.l     D0, [A0]+
  2189. 00001744  8090                     or.l       D0, [A0]
  2190. 00001746  6604                     bne        +0x6 /* 0000174C */
  2191. 00001748  7001                     moveq.l    D0, 0x01
  2192. 0000174A  6002                     bra        +0x4 /* 0000174E */
  2193. label0000174C:
  2194. 0000174C  7000                     moveq.l    D0, 0x00
  2195. label0000174E:
  2196. 0000174E  4A00                     tst.b      D0
  2197. 00001750  6668                     bne        +0x6A /* 000017BA */
  2198. 00001752  41EF 003E                lea.l      A0, [A7 + 0x3E]
  2199. 00001756  43EF 0046                lea.l      A1, [A7 + 0x46]
  2200. 0000175A  2019                     move.l     D0, [A1]+
  2201. 0000175C  4680                     not.l      D0
  2202. 0000175E  C198                     and.l      [A0]+, D0
  2203. 00001760  2011                     move.l     D0, [A1]
  2204. 00001762  4680                     not.l      D0
  2205. 00001764  C190                     and.l      [A0], D0
  2206. 00001766  41EF 0036                lea.l      A0, [A7 + 0x36]
  2207. 0000176A  43EF 0046                lea.l      A1, [A7 + 0x46]
  2208. 0000176E  2019                     move.l     D0, [A1]+
  2209. 00001770  4680                     not.l      D0
  2210. 00001772  C198                     and.l      [A0]+, D0
  2211. 00001774  2011                     move.l     D0, [A1]
  2212. 00001776  4680                     not.l      D0
  2213. 00001778  C190                     and.l      [A0], D0
  2214. 0000177A  7606                     moveq.l    D3, 0x06
  2215. 0000177C  6036                     bra        +0x38 /* 000017B4 */
  2216. label0000177E:
  2217. 0000177E  41EF 0046                lea.l      A0, [A7 + 0x46]
  2218. 00001782  3003                     move.w     D0, D3
  2219. 00001784  0A00 0018                xori.b     D0, 0x18
  2220. 00001788  3200                     move.w     D1, D0
  2221. 0000178A  E648                     lsr        D0.w, 3
  2222. 0000178C  0330 0000                btst       [A0 + D0.w], D1
  2223. 00001790  6604                     bne        +0x6 /* 00001796 */
  2224. 00001792  7000                     moveq.l    D0, 0x00
  2225. 00001794  6002                     bra        +0x4 /* 00001798 */
  2226. label00001796:
  2227. 00001796  7001                     moveq.l    D0, 0x01
  2228. label00001798:
  2229. 00001798  4A00                     tst.b      D0
  2230. 0000179A  6716                     beq        +0x18 /* 000017B2 */
  2231. 0000179C  486F 0018                pea.l      [A7 + 0x18]
  2232. 000017A0  2F0A                     move.l     -[A7], A2
  2233. 000017A2  42A7                     clr.l      -[A7]
  2234. 000017A4  3F3C 000F                move.w     -[A7], 0xF
  2235. 000017A8  3F03                     move.w     -[A7], D3
  2236. 000017AA  4EBA F37C                jsr        [PC - 0xC84 /* 00000B28 */]
  2237. 000017AE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2238. label000017B2:
  2239. 000017B2  5283                     addq.l     D3, 1
  2240. label000017B4:
  2241. 000017B4  7035                     moveq.l    D0, 0x35
  2242. 000017B6  B680                     cmp.l      D3, D0
  2243. 000017B8  63C4                     bls        -0x3A /* 0000177E */
  2244. label000017BA:
  2245. 000017BA  204B                     movea.l    A0, A3
  2246. 000017BC  7000                     moveq.l    D0, 0x00
  2247. 000017BE  20C0                     move.l     [A0]+, D0
  2248. 000017C0  2080                     move.l     [A0], D0
  2249. 000017C2  7635                     moveq.l    D3, 0x35
  2250. 000017C4  6000 016A                bra        +0x16C /* 00001930 */
  2251. label000017C8:
  2252. 000017C8  41EF 004E                lea.l      A0, [A7 + 0x4E]
  2253. 000017CC  3003                     move.w     D0, D3
  2254. 000017CE  0A00 0018                xori.b     D0, 0x18
  2255. 000017D2  3200                     move.w     D1, D0
  2256. 000017D4  E648                     lsr        D0.w, 3
  2257. 000017D6  0330 0000                btst       [A0 + D0.w], D1
  2258. 000017DA  6604                     bne        +0x6 /* 000017E0 */
  2259. 000017DC  7000                     moveq.l    D0, 0x00
  2260. 000017DE  6002                     bra        +0x4 /* 000017E2 */
  2261. label000017E0:
  2262. 000017E0  7001                     moveq.l    D0, 0x01
  2263. label000017E2:
  2264. 000017E2  4A00                     tst.b      D0
  2265. 000017E4  6700 0148                beq        +0x14A /* 0000192E */
  2266. 000017E8  41EF 003E                lea.l      A0, [A7 + 0x3E]
  2267. 000017EC  3003                     move.w     D0, D3
  2268. 000017EE  0A00 0018                xori.b     D0, 0x18
  2269. 000017F2  3200                     move.w     D1, D0
  2270. 000017F4  E648                     lsr        D0.w, 3
  2271. 000017F6  0330 0000                btst       [A0 + D0.w], D1
  2272. 000017FA  6604                     bne        +0x6 /* 00001800 */
  2273. 000017FC  7000                     moveq.l    D0, 0x00
  2274. 000017FE  6002                     bra        +0x4 /* 00001802 */
  2275. label00001800:
  2276. 00001800  7001                     moveq.l    D0, 0x01
  2277. label00001802:
  2278. 00001802  4A00                     tst.b      D0
  2279. 00001804  677C                     beq        +0x7E /* 00001882 */
  2280. 00001806  4A2D 2095                tst.b      [A5 + 0x2095]
  2281. 0000180A  6762                     beq        +0x64 /* 0000186E */
  2282. 0000180C  2003                     move.l     D0, D3
  2283. 0000180E  5980                     subq.l     D0, 4
  2284. 00001810  4C3C 0800 0000           movem.w    A3, 0x0
  2285. 00001816  0018 204A                ori.b      [A0]+, 0x4A /* 'J' */
  2286. 0000181A  D1C0                     add.l      A0, D0
  2287. 0000181C  1028 0649                move.b     D0, [A0 + 0x649]
  2288. 00001820  7240                     moveq.l    D1, 0x40
  2289. 00001822  C081                     and.l      D0, D1
  2290. 00001824  6636                     bne        +0x38 /* 0000185C */
  2291. 00001826  41EA 144C                lea.l      A0, [A2 + 0x144C]
  2292. 0000182A  3003                     move.w     D0, D3
  2293. 0000182C  0A00 0018                xori.b     D0, 0x18
  2294. 00001830  3200                     move.w     D1, D0
  2295. 00001832  E648                     lsr        D0.w, 3
  2296. 00001834  0330 0000                btst       [A0 + D0.w], D1
  2297. 00001838  6604                     bne        +0x6 /* 0000183E */
  2298. 0000183A  7000                     moveq.l    D0, 0x00
  2299. 0000183C  6002                     bra        +0x4 /* 00001840 */
  2300. label0000183E:
  2301. 0000183E  7001                     moveq.l    D0, 0x01
  2302. label00001840:
  2303. 00001840  4A00                     tst.b      D0
  2304. 00001842  672A                     beq        +0x2C /* 0000186E */
  2305. 00001844  2003                     move.l     D0, D3
  2306. 00001846  5D80                     subq.l     D0, 6
  2307. 00001848  4C3C 0800 0000           movem.w    A3, 0x0
  2308. 0000184E  000C 204A                ori.b      A4, 0x4A /* 'J' */
  2309. 00001852  D1C0                     add.l      A0, D0
  2310. 00001854  0828 0007 149C           btst.b     [A0 + 0x149C], 0x7
  2311. 0000185A  6712                     beq        +0x14 /* 0000186E */
  2312. label0000185C:
  2313. 0000185C  204B                     movea.l    A0, A3
  2314. 0000185E  3003                     move.w     D0, D3
  2315. 00001860  0A00 0018                xori.b     D0, 0x18
  2316. 00001864  3200                     move.w     D1, D0
  2317. 00001866  E648                     lsr        D0.w, 3
  2318. 00001868  03F0                     .incomplete
  2319. 0000186A  0000 6014                ori.b      D0, 0x14
  2320. label0000186E:
  2321. 0000186E  2003                     move.l     D0, D3
  2322. 00001870  5D80                     subq.l     D0, 6
  2323. 00001872  E788                     lsl        D0, 3
  2324. 00001874  204A                     movea.l    A0, A2
  2325. 00001876  D1C0                     add.l      A0, D0
  2326. 00001878  4868 0AF8                pea.l      [A0 + 0xAF8]
  2327. 0000187C  4EBA FABC                jsr        [PC - 0x544 /* 0000133A */]
  2328. 00001880  584F                     addq.w     A7, 4
  2329. label00001882:
  2330. 00001882  41EF 0036                lea.l      A0, [A7 + 0x36]
  2331. 00001886  3003                     move.w     D0, D3
  2332. 00001888  0A00 0018                xori.b     D0, 0x18
  2333. 0000188C  3200                     move.w     D1, D0
  2334. 0000188E  E648                     lsr        D0.w, 3
  2335. 00001890  0330 0000                btst       [A0 + D0.w], D1
  2336. 00001894  6604                     bne        +0x6 /* 0000189A */
  2337. 00001896  7000                     moveq.l    D0, 0x00
  2338. 00001898  6002                     bra        +0x4 /* 0000189C */
  2339. label0000189A:
  2340. 0000189A  7001                     moveq.l    D0, 0x01
  2341. label0000189C:
  2342. 0000189C  4A00                     tst.b      D0
  2343. 0000189E  6700 008E                beq        +0x90 /* 0000192E */
  2344. 000018A2  4A2D 2095                tst.b      [A5 + 0x2095]
  2345. 000018A6  671A                     beq        +0x1C /* 000018C2 */
  2346. 000018A8  2003                     move.l     D0, D3
  2347. 000018AA  5980                     subq.l     D0, 4
  2348. 000018AC  4C3C 0800 0000           movem.w    A3, 0x0
  2349. 000018B2  0018 204A                ori.b      [A0]+, 0x4A /* 'J' */
  2350. 000018B6  D1C0                     add.l      A0, D0
  2351. 000018B8  1028 0C79                move.b     D0, [A0 + 0xC79]
  2352. 000018BC  7240                     moveq.l    D1, 0x40
  2353. 000018BE  C081                     and.l      D0, D1
  2354. 000018C0  666C                     bne        +0x6E /* 0000192E */
  2355. label000018C2:
  2356. 000018C2  41EA 147C                lea.l      A0, [A2 + 0x147C]
  2357. 000018C6  3003                     move.w     D0, D3
  2358. 000018C8  0A00 0018                xori.b     D0, 0x18
  2359. 000018CC  3200                     move.w     D1, D0
  2360. 000018CE  E648                     lsr        D0.w, 3
  2361. 000018D0  0330 0000                btst       [A0 + D0.w], D1
  2362. 000018D4  6604                     bne        +0x6 /* 000018DA */
  2363. 000018D6  7000                     moveq.l    D0, 0x00
  2364. 000018D8  6002                     bra        +0x4 /* 000018DC */
  2365. label000018DA:
  2366. 000018DA  7001                     moveq.l    D0, 0x01
  2367. label000018DC:
  2368. 000018DC  4A00                     tst.b      D0
  2369. 000018DE  673A                     beq        +0x3C /* 0000191A */
  2370. 000018E0  2003                     move.l     D0, D3
  2371. 000018E2  5980                     subq.l     D0, 4
  2372. 000018E4  4C3C 0800 0000           movem.w    A3, 0x0
  2373. 000018EA  0018 284A                ori.b      [A0]+, 0x4A /* 'J' */
  2374. 000018EE  D9C0                     add.l      A4, D0
  2375. 000018F0  302C 0C7A                move.w     D0, [A4 + 0xC7A]
  2376. 000018F4  B06C 064A                cmp.w      D0, [A4 + 0x64A]
  2377. 000018F8  660A                     bne        +0xC /* 00001904 */
  2378. 000018FA  302C 0C7C                move.w     D0, [A4 + 0xC7C]
  2379. 000018FE  B06C 064C                cmp.w      D0, [A4 + 0x64C]
  2380. 00001902  672A                     beq        +0x2C /* 0000192E */
  2381. label00001904:
  2382. 00001904  2003                     move.l     D0, D3
  2383. 00001906  5D80                     subq.l     D0, 6
  2384. 00001908  E788                     lsl        D0, 3
  2385. 0000190A  204A                     movea.l    A0, A2
  2386. 0000190C  D1C0                     add.l      A0, D0
  2387. 0000190E  4868 1128                pea.l      [A0 + 0x1128]
  2388. 00001912  4EBA FA26                jsr        [PC - 0x5DA /* 0000133A */]
  2389. 00001916  584F                     addq.w     A7, 4
  2390. 00001918  6014                     bra        +0x16 /* 0000192E */
  2391. label0000191A:
  2392. 0000191A  2003                     move.l     D0, D3
  2393. 0000191C  5D80                     subq.l     D0, 6
  2394. 0000191E  E788                     lsl        D0, 3
  2395. 00001920  204A                     movea.l    A0, A2
  2396. 00001922  D1C0                     add.l      A0, D0
  2397. 00001924  4868 1128                pea.l      [A0 + 0x1128]
  2398. 00001928  4EBA FA10                jsr        [PC - 0x5F0 /* 0000133A */]
  2399. 0000192C  584F                     addq.w     A7, 4
  2400. label0000192E:
  2401. 0000192E  5383                     subq.l     D3, 1
  2402. label00001930:
  2403. 00001930  7006                     moveq.l    D0, 0x06
  2404. 00001932  B680                     cmp.l      D3, D0
  2405. 00001934  6400 FE92                bcc        -0x16C /* 000017C8 */
  2406. 00001938  2F0B                     move.l     -[A7], A3
  2407. 0000193A  486F 0042                pea.l      [A7 + 0x42]
  2408. 0000193E  486F 0018                pea.l      [A7 + 0x18]
  2409. 00001942  4EAD D8A8                jsr        [A5 - 0x2758]
  2410. 00001946  2CAF 001C                move.l     [A6], [A7 + 0x1C]
  2411. 0000194A  2D6F 0020 0004           move.l     [A6 + 0x4], [A7 + 0x20]
  2412. 00001950  41EF 0052                lea.l      A0, [A7 + 0x52]
  2413. 00001954  2018                     move.l     D0, [A0]+
  2414. 00001956  8090                     or.l       D0, [A0]
  2415. 00001958  6604                     bne        +0x6 /* 0000195E */
  2416. 0000195A  7001                     moveq.l    D0, 0x01
  2417. 0000195C  6002                     bra        +0x4 /* 00001960 */
  2418. label0000195E:
  2419. 0000195E  7000                     moveq.l    D0, 0x00
  2420. label00001960:
  2421. 00001960  4A00                     tst.b      D0
  2422. 00001962  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2423. 00001966  6644                     bne        +0x46 /* 000019AC */
  2424. 00001968  486F 0046                pea.l      [A7 + 0x46]
  2425. 0000196C  2F0E                     move.l     -[A7], A6
  2426. 0000196E  486F 0010                pea.l      [A7 + 0x10]
  2427. 00001972  4EAD D8A0                jsr        [A5 - 0x2760]
  2428. 00001976  2CAF 0014                move.l     [A6], [A7 + 0x14]
  2429. 0000197A  2D6F 0018 0004           move.l     [A6 + 0x4], [A7 + 0x18]
  2430. 00001980  486F 0052                pea.l      [A7 + 0x52]
  2431. 00001984  2F0B                     move.l     -[A7], A3
  2432. 00001986  486F 0014                pea.l      [A7 + 0x14]
  2433. 0000198A  4EAD D8A0                jsr        [A5 - 0x2760]
  2434. 0000198E  26AF 0018                move.l     [A3], [A7 + 0x18]
  2435. 00001992  276F 001C 0004           move.l     [A3 + 0x4], [A7 + 0x1C]
  2436. 00001998  486F 005E                pea.l      [A7 + 0x5E]
  2437. 0000199C  486F 006A                pea.l      [A7 + 0x6A]
  2438. 000019A0  486F 006E                pea.l      [A7 + 0x6E]
  2439. 000019A4  4EAD D8A0                jsr        [A5 - 0x2760]
  2440. 000019A8  4FEF 0024                lea.l      A7, [A7 + 0x24]
  2441. label000019AC:
  2442. 000019AC  206F 007C                movea.l    A0, [A7 + 0x7C]
  2443. 000019B0  20AF 004E                move.l     [A0], [A7 + 0x4E]
  2444. 000019B4  216F 0052 0004           move.l     [A0 + 0x4], [A7 + 0x52]
  2445. 000019BA  4FEF 0056                lea.l      A7, [A7 + 0x56]
  2446. 000019BE  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  2447. 000019C2  4E75                     rts
  2448. fn000019C4:
  2449. 000019C4  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  2450. 000019C8  286F 0018                movea.l    A4, [A7 + 0x18]
  2451. 000019CC  4A2D 1BF4                tst.b      [A5 + 0x1BF4]
  2452. 000019D0  6778                     beq        +0x7A /* 00001A4A */
  2453. 000019D2  264C                     movea.l    A3, A4
  2454. 000019D4  47EB 0648                lea.l      A3, [A3 + 0x648]
  2455. 000019D8  244C                     movea.l    A2, A4
  2456. 000019DA  45EA 0C78                lea.l      A2, [A2 + 0xC78]
  2457. 000019DE  302B 0004                move.w     D0, [A3 + 0x4]
  2458. 000019E2  B06A 0004                cmp.w      D0, [A2 + 0x4]
  2459. 000019E6  660E                     bne        +0x10 /* 000019F6 */
  2460. 000019E8  302B 0006                move.w     D0, [A3 + 0x6]
  2461. 000019EC  B06A 0006                cmp.w      D0, [A2 + 0x6]
  2462. 000019F0  6604                     bne        +0x6 /* 000019F6 */
  2463. 000019F2  7000                     moveq.l    D0, 0x00
  2464. 000019F4  6002                     bra        +0x4 /* 000019F8 */
  2465. label000019F6:
  2466. 000019F6  7001                     moveq.l    D0, 0x01
  2467. label000019F8:
  2468. 000019F8  49C0                     lea.l      A4, D0
  2469. 000019FA  1600                     move.b     D3, D0
  2470. 000019FC  302B 0008                move.w     D0, [A3 + 0x8]
  2471. 00001A00  B06A 0008                cmp.w      D0, [A2 + 0x8]
  2472. 00001A04  660E                     bne        +0x10 /* 00001A14 */
  2473. 00001A06  302B 000A                move.w     D0, [A3 + 0xA]
  2474. 00001A0A  B06A 000A                cmp.w      D0, [A2 + 0xA]
  2475. 00001A0E  6604                     bne        +0x6 /* 00001A14 */
  2476. 00001A10  7000                     moveq.l    D0, 0x00
  2477. 00001A12  6002                     bra        +0x4 /* 00001A16 */
  2478. label00001A14:
  2479. 00001A14  7001                     moveq.l    D0, 0x01
  2480. label00001A16:
  2481. 00001A16  49C0                     lea.l      A4, D0
  2482. 00001A18  1800                     move.b     D4, D0
  2483. 00001A1A  4A03                     tst.b      D3
  2484. 00001A1C  670E                     beq        +0x10 /* 00001A2C */
  2485. 00001A1E  3F3C 0001                move.w     -[A7], 0x1
  2486. 00001A22  4227                     clr.b      -[A7]
  2487. 00001A24  2F0C                     move.l     -[A7], A4
  2488. 00001A26  4EAD B2E8                jsr        [A5 - 0x4D18]
  2489. 00001A2A  504F                     addq.w     A7, 8
  2490. label00001A2C:
  2491. 00001A2C  4A04                     tst.b      D4
  2492. 00001A2E  670E                     beq        +0x10 /* 00001A3E */
  2493. 00001A30  3F3C 0002                move.w     -[A7], 0x2
  2494. 00001A34  4227                     clr.b      -[A7]
  2495. 00001A36  2F0C                     move.l     -[A7], A4
  2496. 00001A38  4EAD B2E8                jsr        [A5 - 0x4D18]
  2497. 00001A3C  504F                     addq.w     A7, 8
  2498. label00001A3E:
  2499. 00001A3E  4A03                     tst.b      D3
  2500. 00001A40  6604                     bne        +0x6 /* 00001A46 */
  2501. 00001A42  4A04                     tst.b      D4
  2502. 00001A44  6704                     beq        +0x6 /* 00001A4A */
  2503. label00001A46:
  2504. 00001A46  4EAD C700                jsr        [A5 - 0x3900]
  2505. label00001A4A:
  2506. 00001A4A  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  2507. 00001A4E  4E75                     rts
  2508. fn00001A50:
  2509. 00001A50  48E7 1E20                movem.l    -[A7], D3,D4,D5,D6,A2
  2510. 00001A54  4FEF FFD0                lea.l      A7, [A7 - 0x30]
  2511. 00001A58  1C2F 0048                move.b     D6, [A7 + 0x48]
  2512. 00001A5C  382F 004A                move.w     D4, [A7 + 0x4A]
  2513. 00001A60  486D 20DE                pea.l      [A5 + 0x20DE]
  2514. 00001A64  4EBA E80A                jsr        [PC - 0x17F6 /* 00000270 */]
  2515. 00001A68  4A00                     tst.b      D0
  2516. 00001A6A  584F                     addq.w     A7, 4
  2517. 00001A6C  6600 0256                bne        +0x258 /* 00001CC4 */
  2518. 00001A70  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  2519. 00001A74  4A28 03C2                tst.b      [A0 + 0x3C2]
  2520. 00001A78  6600 024A                bne        +0x24C /* 00001CC4 */
  2521. 00001A7C  117C 0001 03C2           move.b     [A0 + 0x3C2], 0x1
  2522. 00001A82  1A2D 2076                move.b     D5, [A5 + 0x2076]
  2523. 00001A86  1B7C 0001 2076           move.b     [A5 + 0x2076], 0x1
  2524. 00001A8C  426D 20A6                clr.w      [A5 + 0x20A6]
  2525. 00001A90  1B46 2095                move.b     [A5 + 0x2095], D6
  2526. 00001A94  246D 1C1A                movea.l    A2, [A5 + 0x1C1A /* export_895 */]
  2527. 00001A98  4857                     pea.l      [A7]
  2528. 00001A9A  486F 0024                pea.l      [A7 + 0x24]
  2529. 00001A9E  486F 0018                pea.l      [A7 + 0x18]
  2530. 00001AA2  2F0A                     move.l     -[A7], A2
  2531. 00001AA4  1F3C 0001                move.b     -[A7], 0x1
  2532. 00001AA8  4EBA FBA6                jsr        [PC - 0x45A /* 00001650 */]
  2533. 00001AAC  4EAD D9D8                jsr        [A5 - 0x2628]
  2534. 00001AB0  486F 001A                pea.l      [A7 + 0x1A]
  2535. 00001AB4  486D 20DE                pea.l      [A5 + 0x20DE]
  2536. 00001AB8  4EBA E818                jsr        [PC - 0x17E8 /* 000002D2 */]
  2537. 00001ABC  7600                     moveq.l    D3, 0x00
  2538. 00001ABE  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  2539. 00001AC2  603E                     bra        +0x40 /* 00001B02 */
  2540. label00001AC4:
  2541. 00001AC4  3043                     movea.w    A0, D3
  2542. 00001AC6  2008                     move.l     D0, A0
  2543. 00001AC8  E788                     lsl        D0, 3
  2544. 00001ACA  206D 20A0                movea.l    A0, [A5 + 0x20A0]
  2545. 00001ACE  2050                     movea.l    A0, [A0]
  2546. 00001AD0  D1C0                     add.l      A0, D0
  2547. 00001AD2  2F50 0028                move.l     [A7 + 0x28], [A0]
  2548. 00001AD6  2F68 0004 002C           move.l     [A7 + 0x2C], [A0 + 0x4]
  2549. 00001ADC  4A44                     tst.w      D4
  2550. 00001ADE  6616                     bne        +0x18 /* 00001AF6 */
  2551. 00001AE0  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  2552. 00001AE4  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  2553. 00001AE8  486F 0030                pea.l      [A7 + 0x30]
  2554. 00001AEC  2F0A                     move.l     -[A7], A2
  2555. 00001AEE  4EBA F93E                jsr        [PC - 0x6C2 /* 0000142E */]
  2556. 00001AF2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2557. label00001AF6:
  2558. 00001AF6  486F 0028                pea.l      [A7 + 0x28]
  2559. 00001AFA  4EBA EFD0                jsr        [PC - 0x1030 /* 00000ACC */]
  2560. 00001AFE  5243                     addq.w     D3, 1
  2561. 00001B00  584F                     addq.w     A7, 4
  2562. label00001B02:
  2563. 00001B02  B66D 20A6                cmp.w      D3, [A5 + 0x20A6]
  2564. 00001B06  6DBC                     blt        -0x42 /* 00001AC4 */
  2565. 00001B08  486F 0008                pea.l      [A7 + 0x8]
  2566. 00001B0C  486D 20DE                pea.l      [A5 + 0x20DE]
  2567. 00001B10  4EBA E814                jsr        [PC - 0x17EC /* 00000326 */]
  2568. 00001B14  4A06                     tst.b      D6
  2569. 00001B16  504F                     addq.w     A7, 8
  2570. 00001B18  6748                     beq        +0x4A /* 00001B62 */
  2571. 00001B1A  4A44                     tst.w      D4
  2572. 00001B1C  6644                     bne        +0x46 /* 00001B62 */
  2573. 00001B1E  7600                     moveq.l    D3, 0x00
  2574. 00001B20  603A                     bra        +0x3C /* 00001B5C */
  2575. label00001B22:
  2576. 00001B22  3043                     movea.w    A0, D3
  2577. 00001B24  2008                     move.l     D0, A0
  2578. 00001B26  E788                     lsl        D0, 3
  2579. 00001B28  206D 20A0                movea.l    A0, [A5 + 0x20A0]
  2580. 00001B2C  2050                     movea.l    A0, [A0]
  2581. 00001B2E  D1C0                     add.l      A0, D0
  2582. 00001B30  2F50 0028                move.l     [A7 + 0x28], [A0]
  2583. 00001B34  2F68 0004 002C           move.l     [A7 + 0x2C], [A0 + 0x4]
  2584. 00001B3A  554F                     subq.w     A7, 2
  2585. 00001B3C  486F 002A                pea.l      [A7 + 0x2A]
  2586. 00001B40  486D 20AA                pea.l      [A5 + 0x20AA /* export_1041 */]
  2587. 00001B44  486F 0032                pea.l      [A7 + 0x32]
  2588. 00001B48  A8AA                     syscall    SectRect
  2589. 00001B4A  101F                     move.b     D0, [A7]+
  2590. 00001B4C  486F 0028                pea.l      [A7 + 0x28]
  2591. 00001B50  486D 20A8                pea.l      [A5 + 0x20A8]
  2592. 00001B54  4EAD BD20                jsr        [A5 - 0x42E0]
  2593. 00001B58  5243                     addq.w     D3, 1
  2594. 00001B5A  504F                     addq.w     A7, 8
  2595. label00001B5C:
  2596. 00001B5C  B66D 20A6                cmp.w      D3, [A5 + 0x20A6]
  2597. 00001B60  6DC0                     blt        -0x3E /* 00001B22 */
  2598. label00001B62:
  2599. 00001B62  0C44 0001                cmpi.w     D4, 0x1
  2600. 00001B66  660C                     bne        +0xE /* 00001B74 */
  2601. 00001B68  486D 20AA                pea.l      [A5 + 0x20AA /* export_1041 */]
  2602. 00001B6C  4EBA FA68                jsr        [PC - 0x598 /* 000015D6 */]
  2603. 00001B70  584F                     addq.w     A7, 4
  2604. 00001B72  6010                     bra        +0x12 /* 00001B84 */
  2605. label00001B74:
  2606. 00001B74  0C44 0002                cmpi.w     D4, 0x2
  2607. 00001B78  660A                     bne        +0xC /* 00001B84 */
  2608. 00001B7A  486D 20B6                pea.l      [A5 + 0x20B6]
  2609. 00001B7E  4EBA FA56                jsr        [PC - 0x5AA /* 000015D6 */]
  2610. 00001B82  584F                     addq.w     A7, 4
  2611. label00001B84:
  2612. 00001B84  41EF 0020                lea.l      A0, [A7 + 0x20]
  2613. 00001B88  2018                     move.l     D0, [A0]+
  2614. 00001B8A  8090                     or.l       D0, [A0]
  2615. 00001B8C  6604                     bne        +0x6 /* 00001B92 */
  2616. 00001B8E  7001                     moveq.l    D0, 0x01
  2617. 00001B90  6002                     bra        +0x4 /* 00001B94 */
  2618. label00001B92:
  2619. 00001B92  7000                     moveq.l    D0, 0x00
  2620. label00001B94:
  2621. 00001B94  4A00                     tst.b      D0
  2622. 00001B96  6668                     bne        +0x6A /* 00001C00 */
  2623. 00001B98  41EF 0020                lea.l      A0, [A7 + 0x20]
  2624. 00001B9C  226D 1C1A                movea.l    A1, [A5 + 0x1C1A /* export_895 */]
  2625. 00001BA0  43E9 1444                lea.l      A1, [A1 + 0x1444]
  2626. 00001BA4  2019                     move.l     D0, [A1]+
  2627. 00001BA6  4680                     not.l      D0
  2628. 00001BA8  C198                     and.l      [A0]+, D0
  2629. 00001BAA  2011                     move.l     D0, [A1]
  2630. 00001BAC  4680                     not.l      D0
  2631. 00001BAE  C190                     and.l      [A0], D0
  2632. 00001BB0  1B6D 2003 2076           move.b     [A5 + 0x2076], [A5 + 0x2003]
  2633. 00001BB6  7606                     moveq.l    D3, 0x06
  2634. 00001BB8  6040                     bra        +0x42 /* 00001BFA */
  2635. label00001BBA:
  2636. 00001BBA  41EF 0020                lea.l      A0, [A7 + 0x20]
  2637. 00001BBE  3003                     move.w     D0, D3
  2638. 00001BC0  0A00 0018                xori.b     D0, 0x18
  2639. 00001BC4  3200                     move.w     D1, D0
  2640. 00001BC6  E648                     lsr        D0.w, 3
  2641. 00001BC8  0330 0000                btst       [A0 + D0.w], D1
  2642. 00001BCC  6604                     bne        +0x6 /* 00001BD2 */
  2643. 00001BCE  7000                     moveq.l    D0, 0x00
  2644. 00001BD0  6002                     bra        +0x4 /* 00001BD4 */
  2645. label00001BD2:
  2646. 00001BD2  7001                     moveq.l    D0, 0x01
  2647. label00001BD4:
  2648. 00001BD4  4A00                     tst.b      D0
  2649. 00001BD6  6720                     beq        +0x22 /* 00001BF8 */
  2650. 00001BD8  3F3C 0001                move.w     -[A7], 0x1
  2651. 00001BDC  3F03                     move.w     -[A7], D3
  2652. 00001BDE  4EBA EF2A                jsr        [PC - 0x10D6 /* 00000B0A */]
  2653. 00001BE2  3003                     move.w     D0, D3
  2654. 00001BE4  48C0                     ext.l      D0
  2655. 00001BE6  5D80                     subq.l     D0, 6
  2656. 00001BE8  E788                     lsl        D0, 3
  2657. 00001BEA  204A                     movea.l    A0, A2
  2658. 00001BEC  D1C0                     add.l      A0, D0
  2659. 00001BEE  4868 0AF8                pea.l      [A0 + 0xAF8]
  2660. 00001BF2  4EBA EED8                jsr        [PC - 0x1128 /* 00000ACC */]
  2661. 00001BF6  504F                     addq.w     A7, 8
  2662. label00001BF8:
  2663. 00001BF8  5243                     addq.w     D3, 1
  2664. label00001BFA:
  2665. 00001BFA  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  2666. 00001BFE  6FBA                     ble        -0x44 /* 00001BBA */
  2667. label00001C00:
  2668. 00001C00  41EA 147C                lea.l      A0, [A2 + 0x147C]
  2669. 00001C04  2018                     move.l     D0, [A0]+
  2670. 00001C06  8090                     or.l       D0, [A0]
  2671. 00001C08  6604                     bne        +0x6 /* 00001C0E */
  2672. 00001C0A  7001                     moveq.l    D0, 0x01
  2673. 00001C0C  6002                     bra        +0x4 /* 00001C10 */
  2674. label00001C0E:
  2675. 00001C0E  7000                     moveq.l    D0, 0x00
  2676. label00001C10:
  2677. 00001C10  4A00                     tst.b      D0
  2678. 00001C12  6664                     bne        +0x66 /* 00001C78 */
  2679. 00001C14  2F6A 147C 0018           move.l     [A7 + 0x18], [A2 + 0x147C]
  2680. 00001C1A  2F6A 1480 001C           move.l     [A7 + 0x1C], [A2 + 0x1480]
  2681. 00001C20  41EF 0018                lea.l      A0, [A7 + 0x18]
  2682. 00001C24  226D 1C1A                movea.l    A1, [A5 + 0x1C1A /* export_895 */]
  2683. 00001C28  43E9 1444                lea.l      A1, [A1 + 0x1444]
  2684. 00001C2C  2019                     move.l     D0, [A1]+
  2685. 00001C2E  4680                     not.l      D0
  2686. 00001C30  C198                     and.l      [A0]+, D0
  2687. 00001C32  2011                     move.l     D0, [A1]
  2688. 00001C34  4680                     not.l      D0
  2689. 00001C36  C190                     and.l      [A0], D0
  2690. 00001C38  7606                     moveq.l    D3, 0x06
  2691. 00001C3A  6036                     bra        +0x38 /* 00001C72 */
  2692. label00001C3C:
  2693. 00001C3C  41EF 0018                lea.l      A0, [A7 + 0x18]
  2694. 00001C40  3003                     move.w     D0, D3
  2695. 00001C42  0A00 0018                xori.b     D0, 0x18
  2696. 00001C46  3200                     move.w     D1, D0
  2697. 00001C48  E648                     lsr        D0.w, 3
  2698. 00001C4A  0330 0000                btst       [A0 + D0.w], D1
  2699. 00001C4E  6604                     bne        +0x6 /* 00001C54 */
  2700. 00001C50  7000                     moveq.l    D0, 0x00
  2701. 00001C52  6002                     bra        +0x4 /* 00001C56 */
  2702. label00001C54:
  2703. 00001C54  7001                     moveq.l    D0, 0x01
  2704. label00001C56:
  2705. 00001C56  4A00                     tst.b      D0
  2706. 00001C58  6716                     beq        +0x18 /* 00001C70 */
  2707. 00001C5A  3003                     move.w     D0, D3
  2708. 00001C5C  48C0                     ext.l      D0
  2709. 00001C5E  5D80                     subq.l     D0, 6
  2710. 00001C60  E788                     lsl        D0, 3
  2711. 00001C62  204A                     movea.l    A0, A2
  2712. 00001C64  D1C0                     add.l      A0, D0
  2713. 00001C66  4868 0AF8                pea.l      [A0 + 0xAF8]
  2714. 00001C6A  4EBA EE60                jsr        [PC - 0x11A0 /* 00000ACC */]
  2715. 00001C6E  584F                     addq.w     A7, 4
  2716. label00001C70:
  2717. 00001C70  5243                     addq.w     D3, 1
  2718. label00001C72:
  2719. 00001C72  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  2720. 00001C76  6FC4                     ble        -0x3A /* 00001C3C */
  2721. label00001C78:
  2722. 00001C78  2F0A                     move.l     -[A7], A2
  2723. 00001C7A  4EBA FD48                jsr        [PC - 0x2B8 /* 000019C4 */]
  2724. 00001C7E  4A44                     tst.w      D4
  2725. 00001C80  584F                     addq.w     A7, 4
  2726. 00001C82  6634                     bne        +0x36 /* 00001CB8 */
  2727. 00001C84  4A2D 1BCC                tst.b      [A5 + 0x1BCC]
  2728. 00001C88  6608                     bne        +0xA /* 00001C92 */
  2729. 00001C8A  4EAD AEE8                jsr        [A5 - 0x5118]
  2730. 00001C8E  4A00                     tst.b      D0
  2731. 00001C90  6726                     beq        +0x28 /* 00001CB8 */
  2732. label00001C92:
  2733. 00001C92  2F0A                     move.l     -[A7], A2
  2734. 00001C94  4EAD ACE8                jsr        [A5 - 0x5318]
  2735. 00001C98  2F0A                     move.l     -[A7], A2
  2736. 00001C9A  4EAD ACF0                jsr        [A5 - 0x5310]
  2737. 00001C9E  2F0A                     move.l     -[A7], A2
  2738. 00001CA0  486D 21B2                pea.l      [A5 + 0x21B2 /* export_1074 */]
  2739. 00001CA4  2F2A 1470                move.l     -[A7], [A2 + 0x1470]
  2740. 00001CA8  2F2A 146C                move.l     -[A7], [A2 + 0x146C]
  2741. 00001CAC  3F3C 0029                move.w     -[A7], 0x29 /* ')' */
  2742. 00001CB0  4EBA F0BE                jsr        [PC - 0xF42 /* 00000D70 */]
  2743. 00001CB4  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  2744. label00001CB8:
  2745. 00001CB8  1B45 2076                move.b     [A5 + 0x2076], D5
  2746. 00001CBC  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  2747. 00001CC0  4228 03C2                clr.b      [A0 + 0x3C2]
  2748. label00001CC4:
  2749. 00001CC4  4FEF 0030                lea.l      A7, [A7 + 0x30]
  2750. 00001CC8  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  2751. 00001CCC  4E75                     rts
  2752. fn00001CCE:
  2753. 00001CCE  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  2754. 00001CD2  4FEF FFDC                lea.l      A7, [A7 - 0x24]
  2755. 00001CD6  206F 0038                movea.l    A0, [A7 + 0x38]
  2756. 00001CDA  2F50 0014                move.l     [A7 + 0x14], [A0]
  2757. 00001CDE  2F68 0004 0018           move.l     [A7 + 0x18], [A0 + 0x4]
  2758. 00001CE4  266D 1C1A                movea.l    A3, [A5 + 0x1C1A /* export_895 */]
  2759. 00001CE8  47EB 0648                lea.l      A3, [A3 + 0x648]
  2760. 00001CEC  486D 20DE                pea.l      [A5 + 0x20DE]
  2761. 00001CF0  4EBA E57E                jsr        [PC - 0x1A82 /* 00000270 */]
  2762. 00001CF4  4A00                     tst.b      D0
  2763. 00001CF6  584F                     addq.w     A7, 4
  2764. 00001CF8  6600 0240                bne        +0x242 /* 00001F3A */
  2765. 00001CFC  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  2766. 00001D00  4A28 03C2                tst.b      [A0 + 0x3C2]
  2767. 00001D04  6600 0234                bne        +0x236 /* 00001F3A */
  2768. 00001D08  117C 0001 03C2           move.b     [A0 + 0x3C2], 0x1
  2769. 00001D0E  41EF 003C                lea.l      A0, [A7 + 0x3C]
  2770. 00001D12  226D 1C1A                movea.l    A1, [A5 + 0x1C1A /* export_895 */]
  2771. 00001D16  43E9 1444                lea.l      A1, [A1 + 0x1444]
  2772. 00001D1A  2019                     move.l     D0, [A1]+
  2773. 00001D1C  4680                     not.l      D0
  2774. 00001D1E  C198                     and.l      [A0]+, D0
  2775. 00001D20  2011                     move.l     D0, [A1]
  2776. 00001D22  4680                     not.l      D0
  2777. 00001D24  C190                     and.l      [A0], D0
  2778. 00001D26  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  2779. 00001D2A  4A28 0046                tst.b      [A0 + 0x46]
  2780. 00001D2E  6752                     beq        +0x54 /* 00001D82 */
  2781. 00001D30  244B                     movea.l    A2, A3
  2782. 00001D32  45EA 0030                lea.l      A2, [A2 + 0x30]
  2783. 00001D36  7606                     moveq.l    D3, 0x06
  2784. 00001D38  6042                     bra        +0x44 /* 00001D7C */
  2785. label00001D3A:
  2786. 00001D3A  41EF 003C                lea.l      A0, [A7 + 0x3C]
  2787. 00001D3E  3003                     move.w     D0, D3
  2788. 00001D40  0A00 0018                xori.b     D0, 0x18
  2789. 00001D44  3200                     move.w     D1, D0
  2790. 00001D46  E648                     lsr        D0.w, 3
  2791. 00001D48  0330 0000                btst       [A0 + D0.w], D1
  2792. 00001D4C  6604                     bne        +0x6 /* 00001D52 */
  2793. 00001D4E  7000                     moveq.l    D0, 0x00
  2794. 00001D50  6002                     bra        +0x4 /* 00001D54 */
  2795. label00001D52:
  2796. 00001D52  7001                     moveq.l    D0, 0x01
  2797. label00001D54:
  2798. 00001D54  4A00                     tst.b      D0
  2799. 00001D56  671E                     beq        +0x20 /* 00001D76 */
  2800. 00001D58  4A12                     tst.b      [A2]
  2801. 00001D5A  671A                     beq        +0x1C /* 00001D76 */
  2802. 00001D5C  102A 0016                move.b     D0, [A2 + 0x16]
  2803. 00001D60  7260                     moveq.l    D1, 0x60
  2804. 00001D62  C081                     and.l      D0, D1
  2805. 00001D64  4A80                     tst.l      D0
  2806. 00001D66  670E                     beq        +0x10 /* 00001D76 */
  2807. 00001D68  486F 0014                pea.l      [A7 + 0x14]
  2808. 00001D6C  2F3C FFFE FFFE           move.l     -[A7], 0xFFFEFFFE
  2809. 00001D72  A8A9                     syscall    InsetRect
  2810. 00001D74  600C                     bra        +0xE /* 00001D82 */
  2811. label00001D76:
  2812. 00001D76  5243                     addq.w     D3, 1
  2813. 00001D78  7018                     moveq.l    D0, 0x18
  2814. 00001D7A  D5C0                     add.l      A2, D0
  2815. label00001D7C:
  2816. 00001D7C  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  2817. 00001D80  6FB8                     ble        -0x46 /* 00001D3A */
  2818. label00001D82:
  2819. 00001D82  4A2D 20A8                tst.b      [A5 + 0x20A8]
  2820. 00001D86  673A                     beq        +0x3C /* 00001DC2 */
  2821. 00001D88  41EF 003C                lea.l      A0, [A7 + 0x3C]
  2822. 00001D8C  7005                     moveq.l    D0, 0x05
  2823. 00001D8E  0A00 0018                xori.b     D0, 0x18
  2824. 00001D92  3200                     move.w     D1, D0
  2825. 00001D94  E648                     lsr        D0.w, 3
  2826. 00001D96  0330 0000                btst       [A0 + D0.w], D1
  2827. 00001D9A  6604                     bne        +0x6 /* 00001DA0 */
  2828. 00001D9C  7000                     moveq.l    D0, 0x00
  2829. 00001D9E  6002                     bra        +0x4 /* 00001DA2 */
  2830. label00001DA0:
  2831. 00001DA0  7001                     moveq.l    D0, 0x01
  2832. label00001DA2:
  2833. 00001DA2  4A00                     tst.b      D0
  2834. 00001DA4  671C                     beq        +0x1E /* 00001DC2 */
  2835. 00001DA6  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  2836. 00001DAA  4868 12BC                pea.l      [A0 + 0x12BC]
  2837. 00001DAE  486F 0010                pea.l      [A7 + 0x10]
  2838. 00001DB2  4EAD B620                jsr        [A5 - 0x49E0]
  2839. 00001DB6  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  2840. 00001DBA  4EAD AF10                jsr        [A5 - 0x50F0]
  2841. 00001DBE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2842. label00001DC2:
  2843. 00001DC2  554F                     subq.w     A7, 2
  2844. 00001DC4  486F 0016                pea.l      [A7 + 0x16]
  2845. 00001DC8  206D 20BE                movea.l    A0, [A5 + 0x20BE]
  2846. 00001DCC  2068 001C                movea.l    A0, [A0 + 0x1C]
  2847. 00001DD0  2050                     movea.l    A0, [A0]
  2848. 00001DD2  4868 0002                pea.l      [A0 + 0x2]
  2849. 00001DD6  486F 0026                pea.l      [A7 + 0x26]
  2850. 00001DDA  A8AA                     syscall    SectRect
  2851. 00001DDC  101F                     move.b     D0, [A7]+
  2852. 00001DDE  6700 0152                beq        +0x154 /* 00001F32 */
  2853. 00001DE2  554F                     subq.w     A7, 2
  2854. 00001DE4  486F 001E                pea.l      [A7 + 0x1E]
  2855. 00001DE8  206D 20BE                movea.l    A0, [A5 + 0x20BE]
  2856. 00001DEC  4868 0010                pea.l      [A0 + 0x10]
  2857. 00001DF0  486F 0026                pea.l      [A7 + 0x26]
  2858. 00001DF4  A8AA                     syscall    SectRect
  2859. 00001DF6  101F                     move.b     D0, [A7]+
  2860. 00001DF8  6700 0138                beq        +0x13A /* 00001F32 */
  2861. 00001DFC  486F 0010                pea.l      [A7 + 0x10]
  2862. 00001E00  A874                     syscall    GetPort
  2863. 00001E02  2F2D 20BE                move.l     -[A7], [A5 + 0x20BE]
  2864. 00001E06  A873                     syscall    SetPort
  2865. 00001E08  182D 2076                move.b     D4, [A5 + 0x2076]
  2866. 00001E0C  486F 0004                pea.l      [A7 + 0x4]
  2867. 00001E10  486F 0020                pea.l      [A7 + 0x20]
  2868. 00001E14  486D 20DE                pea.l      [A5 + 0x20DE]
  2869. 00001E18  4EBA E498                jsr        [PC - 0x1B68 /* 000002B2 */]
  2870. 00001E1C  1B7C 0001 2076           move.b     [A5 + 0x2076], 0x1
  2871. 00001E22  2F2F 004C                move.l     -[A7], [A7 + 0x4C]
  2872. 00001E26  2F2F 004C                move.l     -[A7], [A7 + 0x4C]
  2873. 00001E2A  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  2874. 00001E2E  4EBA F1B8                jsr        [PC - 0xE48 /* 00000FE8 */]
  2875. 00001E32  244B                     movea.l    A2, A3
  2876. 00001E34  45EA 0030                lea.l      A2, [A2 + 0x30]
  2877. 00001E38  7606                     moveq.l    D3, 0x06
  2878. 00001E3A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2879. 00001E3E  6052                     bra        +0x54 /* 00001E92 */
  2880. label00001E40:
  2881. 00001E40  41EF 003C                lea.l      A0, [A7 + 0x3C]
  2882. 00001E44  3003                     move.w     D0, D3
  2883. 00001E46  0A00 0018                xori.b     D0, 0x18
  2884. 00001E4A  3200                     move.w     D1, D0
  2885. 00001E4C  E648                     lsr        D0.w, 3
  2886. 00001E4E  0330 0000                btst       [A0 + D0.w], D1
  2887. 00001E52  6604                     bne        +0x6 /* 00001E58 */
  2888. 00001E54  7000                     moveq.l    D0, 0x00
  2889. 00001E56  6002                     bra        +0x4 /* 00001E5A */
  2890. label00001E58:
  2891. 00001E58  7001                     moveq.l    D0, 0x01
  2892. label00001E5A:
  2893. 00001E5A  4A00                     tst.b      D0
  2894. 00001E5C  672E                     beq        +0x30 /* 00001E8C */
  2895. 00001E5E  4A12                     tst.b      [A2]
  2896. 00001E60  672A                     beq        +0x2C /* 00001E8C */
  2897. 00001E62  554F                     subq.w     A7, 2
  2898. 00001E64  486F 001E                pea.l      [A7 + 0x1E]
  2899. 00001E68  3003                     move.w     D0, D3
  2900. 00001E6A  48C0                     ext.l      D0
  2901. 00001E6C  5D80                     subq.l     D0, 6
  2902. 00001E6E  E788                     lsl        D0, 3
  2903. 00001E70  204B                     movea.l    A0, A3
  2904. 00001E72  D1C0                     add.l      A0, D0
  2905. 00001E74  4868 04B0                pea.l      [A0 + 0x4B0]
  2906. 00001E78  486D 2098                pea.l      [A5 + 0x2098]
  2907. 00001E7C  A8AA                     syscall    SectRect
  2908. 00001E7E  101F                     move.b     D0, [A7]+
  2909. 00001E80  670A                     beq        +0xC /* 00001E8C */
  2910. 00001E82  4267                     clr.w      -[A7]
  2911. 00001E84  3F03                     move.w     -[A7], D3
  2912. 00001E86  4EBA EC82                jsr        [PC - 0x137E /* 00000B0A */]
  2913. 00001E8A  584F                     addq.w     A7, 4
  2914. label00001E8C:
  2915. 00001E8C  5243                     addq.w     D3, 1
  2916. 00001E8E  7018                     moveq.l    D0, 0x18
  2917. 00001E90  D5C0                     add.l      A2, D0
  2918. label00001E92:
  2919. 00001E92  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  2920. 00001E96  6FA8                     ble        -0x56 /* 00001E40 */
  2921. 00001E98  486F 001C                pea.l      [A7 + 0x1C]
  2922. 00001E9C  4EAD D9E0                jsr        [A5 - 0x2620]
  2923. 00001EA0  486F 0008                pea.l      [A7 + 0x8]
  2924. 00001EA4  486D 20DE                pea.l      [A5 + 0x20DE]
  2925. 00001EA8  4EBA E47C                jsr        [PC - 0x1B84 /* 00000326 */]
  2926. 00001EAC  486F 000C                pea.l      [A7 + 0xC]
  2927. 00001EB0  486F 002C                pea.l      [A7 + 0x2C]
  2928. 00001EB4  4EAD BB90                jsr        [A5 - 0x4470]
  2929. 00001EB8  486F 0030                pea.l      [A7 + 0x30]
  2930. 00001EBC  2F2F 0058                move.l     -[A7], [A7 + 0x58]
  2931. 00001EC0  2F2F 0058                move.l     -[A7], [A7 + 0x58]
  2932. 00001EC4  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  2933. 00001EC8  4EAD ACC8                jsr        [A5 - 0x5338]
  2934. 00001ECC  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  2935. 00001ED0  486F 0044                pea.l      [A7 + 0x44]
  2936. 00001ED4  2F2F 006C                move.l     -[A7], [A7 + 0x6C]
  2937. 00001ED8  2F2F 006C                move.l     -[A7], [A7 + 0x6C]
  2938. 00001EDC  3F3C 0017                move.w     -[A7], 0x17
  2939. 00001EE0  4EBA EE8E                jsr        [PC - 0x1172 /* 00000D70 */]
  2940. 00001EE4  486F 0052                pea.l      [A7 + 0x52]
  2941. 00001EE8  486D 20A8                pea.l      [A5 + 0x20A8]
  2942. 00001EEC  4EAD BD20                jsr        [A5 - 0x42E0]
  2943. 00001EF0  2F2F 003E                move.l     -[A7], [A7 + 0x3E]
  2944. 00001EF4  4EAD BB98                jsr        [A5 - 0x4468]
  2945. 00001EF8  486F 005E                pea.l      [A7 + 0x5E]
  2946. 00001EFC  2F2F 0086                move.l     -[A7], [A7 + 0x86]
  2947. 00001F00  2F2F 0086                move.l     -[A7], [A7 + 0x86]
  2948. 00001F04  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  2949. 00001F08  4EAD ACC0                jsr        [A5 - 0x5340]
  2950. 00001F0C  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  2951. 00001F10  486F 0072                pea.l      [A7 + 0x72]
  2952. 00001F14  2F2F 009A                move.l     -[A7], [A7 + 0x9A]
  2953. 00001F18  2F2F 009A                move.l     -[A7], [A7 + 0x9A]
  2954. 00001F1C  3F3C 0018                move.w     -[A7], 0x18
  2955. 00001F20  4EBA EE4E                jsr        [PC - 0x11B2 /* 00000D70 */]
  2956. 00001F24  1B44 2076                move.b     [A5 + 0x2076], D4
  2957. 00001F28  2F2F 0074                move.l     -[A7], [A7 + 0x74]
  2958. 00001F2C  A873                     syscall    SetPort
  2959. 00001F2E  4FEF 0064                lea.l      A7, [A7 + 0x64]
  2960. label00001F32:
  2961. 00001F32  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  2962. 00001F36  4228 03C2                clr.b      [A0 + 0x3C2]
  2963. label00001F3A:
  2964. 00001F3A  4FEF 0024                lea.l      A7, [A7 + 0x24]
  2965. 00001F3E  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  2966. 00001F42  4E75                     rts
  2967. 00001F44  2F2D 1218                move.l     -[A7], [A5 + 0x1218]
  2968. 00001F48  2F2D 1214                move.l     -[A7], [A5 + 0x1214]
  2969. 00001F4C  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  2970. 00001F50  4EBA FD7C                jsr        [PC - 0x284 /* 00001CCE */]
  2971. 00001F54  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2972. 00001F58  4E75                     rts
  2973. 00001F5A  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2974. 00001F5E  3F3C 0005                move.w     -[A7], 0x5
  2975. 00001F62  486F 000A                pea.l      [A7 + 0xA]
  2976. 00001F66  4EAD D898                jsr        [A5 - 0x2768]
  2977. 00001F6A  486F 000E                pea.l      [A7 + 0xE]
  2978. 00001F6E  486D 1214                pea.l      [A5 + 0x1214]
  2979. 00001F72  486F 000E                pea.l      [A7 + 0xE]
  2980. 00001F76  4EAD D8A0                jsr        [A5 - 0x2760]
  2981. 00001F7A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2982. 00001F7E  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  2983. 00001F82  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  2984. 00001F86  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  2985. 00001F8A  4EBA FD42                jsr        [PC - 0x2BE /* 00001CCE */]
  2986. 00001F8E  4FEF 0022                lea.l      A7, [A7 + 0x22]
  2987. 00001F92  4E75                     rts
  2988. 00001F94  2F2D 1228                move.l     -[A7], [A5 + 0x1228]
  2989. 00001F98  2F2D 1224                move.l     -[A7], [A5 + 0x1224]
  2990. 00001F9C  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  2991. 00001FA0  4EBA FD2C                jsr        [PC - 0x2D4 /* 00001CCE */]
  2992. 00001FA4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2993. 00001FA8  4E75                     rts
  2994. fn00001FAA:
  2995. 00001FAA  48E7 1C00                movem.l    -[A7], D3,D4,D5
  2996. 00001FAE  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2997. 00001FB2  7600                     moveq.l    D3, 0x00
  2998. 00001FB4  4EAD AEE8                jsr        [A5 - 0x5118]
  2999. 00001FB8  4A00                     tst.b      D0
  3000. 00001FBA  6600 00B2                bne        +0xB4 /* 0000206E */
  3001. 00001FBE  4A6D 1BEE                tst.w      [A5 + 0x1BEE]
  3002. 00001FC2  6D04                     blt        +0x6 /* 00001FC8 */
  3003. 00001FC4  4EAD AEA0                jsr        [A5 - 0x5160]
  3004. label00001FC8:
  3005. 00001FC8  4AAD 08CE                tst.l      [A5 + 0x8CE]
  3006. 00001FCC  6714                     beq        +0x16 /* 00001FE2 */
  3007. 00001FCE  594F                     subq.w     A7, 4
  3008. 00001FD0  A975                     syscall    TickCount
  3009. 00001FD2  201F                     move.l     D0, [A7]+
  3010. 00001FD4  B0AD 08CE                cmp.l      D0, [A5 + 0x8CE]
  3011. 00001FD8  6300 0094                bls        +0x96 /* 0000206E */
  3012. 00001FDC  7601                     moveq.l    D3, 0x01
  3013. 00001FDE  6000 008E                bra        +0x90 /* 0000206E */
  3014. label00001FE2:
  3015. 00001FE2  4AAD 08CA                tst.l      [A5 + 0x8CA /* export_277 */]
  3016. 00001FE6  6710                     beq        +0x12 /* 00001FF8 */
  3017. 00001FE8  4AAD 08C6                tst.l      [A5 + 0x8C6]
  3018. 00001FEC  670A                     beq        +0xC /* 00001FF8 */
  3019. 00001FEE  2F2D 08C6                move.l     -[A7], [A5 + 0x8C6]
  3020. 00001FF2  206D 08CA                movea.l    A0, [A5 + 0x8CA /* export_277 */]
  3021. 00001FF6  4E90                     jsr        [A0]
  3022. label00001FF8:
  3023. 00001FF8  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3024. 00001FFC  1A28 1701                move.b     D5, [A0 + 0x1701]
  3025. 00002000  4AB8 014C                tst.l      [0x0000014C]
  3026. 00002004  6768                     beq        +0x6A /* 0000206E */
  3027. 00002006  554F                     subq.w     A7, 2
  3028. 00002008  3F3C 800A                move.w     -[A7], 0x800A
  3029. 0000200C  486F 0004                pea.l      [A7 + 0x4]
  3030. 00002010  A971                     syscall    EventAvail
  3031. 00002012  101F                     move.b     D0, [A7]+
  3032. 00002014  6740                     beq        +0x42 /* 00002056 */
  3033. 00002016  7800                     moveq.l    D4, 0x00
  3034. 00002018  7000                     moveq.l    D0, 0x00
  3035. 0000201A  3017                     move.w     D0, [A7]
  3036. 0000201C  5380                     subq.l     D0, 1
  3037. 0000201E  6712                     beq        +0x14 /* 00002032 */
  3038. 00002020  5580                     subq.l     D0, 2
  3039. 00002022  671C                     beq        +0x1E /* 00002040 */
  3040. 00002024  0480 0000 7FFD           subi.l     D0, 0x7FFD
  3041. 0000202A  6702                     beq        +0x4 /* 0000202E */
  3042. 0000202C  6022                     bra        +0x24 /* 00002050 */
  3043. label0000202E:
  3044. 0000202E  7801                     moveq.l    D4, 0x01
  3045. 00002030  601E                     bra        +0x20 /* 00002050 */
  3046. label00002032:
  3047. 00002032  102D 20B2                move.b     D0, [A5 + 0x20B2 /* export_1042 */]
  3048. 00002036  57C0                     seq        D0
  3049. 00002038  4400                     neg.b      D0
  3050. 0000203A  49C0                     lea.l      A4, D0
  3051. 0000203C  1800                     move.b     D4, D0
  3052. 0000203E  6010                     bra        +0x12 /* 00002050 */
  3053. label00002040:
  3054. 00002040  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  3055. 00002044  1028 039D                move.b     D0, [A0 + 0x39D]
  3056. 00002048  57C0                     seq        D0
  3057. 0000204A  4400                     neg.b      D0
  3058. 0000204C  49C0                     lea.l      A4, D0
  3059. 0000204E  1800                     move.b     D4, D0
  3060. label00002050:
  3061. 00002050  4A04                     tst.b      D4
  3062. 00002052  6702                     beq        +0x4 /* 00002056 */
  3063. 00002054  7601                     moveq.l    D3, 0x01
  3064. label00002056:
  3065. 00002056  4A43                     tst.w      D3
  3066. 00002058  6614                     bne        +0x16 /* 0000206E */
  3067. 0000205A  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3068. 0000205E  BA28 1701                cmp.b      D5, [A0 + 0x1701]
  3069. 00002062  670A                     beq        +0xC /* 0000206E */
  3070. 00002064  2048                     movea.l    A0, A0
  3071. 00002066  4A28 1701                tst.b      [A0 + 0x1701]
  3072. 0000206A  6602                     bne        +0x4 /* 0000206E */
  3073. 0000206C  7601                     moveq.l    D3, 0x01
  3074. label0000206E:
  3075. 0000206E  3003                     move.w     D0, D3
  3076. 00002070  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3077. 00002074  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  3078. 00002078  4E75                     rts
  3079. fn0000207A:
  3080. 0000207A  48E7 1E20                movem.l    -[A7], D3,D4,D5,D6,A2
  3081. 0000207E  4FEF F9D0                lea.l      A7, [A7 - 0x630]
  3082. 00002082  282F 0648                move.l     D4, [A7 + 0x648]
  3083. 00002086  362F 064C                move.w     D3, [A7 + 0x64C]
  3084. 0000208A  4A84                     tst.l      D4
  3085. 0000208C  6D00 00C6                blt        +0xC8 /* 00002154 */
  3086. 00002090  594F                     subq.w     A7, 4
  3087. 00002092  A975                     syscall    TickCount
  3088. 00002094  201F                     move.l     D0, [A7]+
  3089. 00002096  D084                     add.l      D0, D4
  3090. 00002098  2A00                     move.l     D5, D0
  3091. 0000209A  4A2D 20B2                tst.b      [A5 + 0x20B2 /* export_1042 */]
  3092. 0000209E  670A                     beq        +0xC /* 000020AA */
  3093. 000020A0  4A84                     tst.l      D4
  3094. 000020A2  6606                     bne        +0x8 /* 000020AA */
  3095. 000020A4  4A2D 1BD2                tst.b      [A5 + 0x1BD2 /* export_886 */]
  3096. 000020A8  6704                     beq        +0x6 /* 000020AE */
  3097. label000020AA:
  3098. 000020AA  7000                     moveq.l    D0, 0x00
  3099. 000020AC  6002                     bra        +0x4 /* 000020B0 */
  3100. label000020AE:
  3101. 000020AE  7001                     moveq.l    D0, 0x01
  3102. label000020B0:
  3103. 000020B0  1C00                     move.b     D6, D0
  3104. 000020B2  4EAD BA68                jsr        [A5 - 0x4598]
  3105. 000020B6  4A06                     tst.b      D6
  3106. 000020B8  6704                     beq        +0x6 /* 000020BE */
  3107. 000020BA  4EAD BA50                jsr        [A5 - 0x45B0]
  3108. label000020BE:
  3109. 000020BE  246D 1C1A                movea.l    A2, [A5 + 0x1C1A /* export_895 */]
  3110. 000020C2  41EA 0C78                lea.l      A0, [A2 + 0xC78]
  3111. 000020C6  43D7                     lea.l      A1, [A7]
  3112. 000020C8  303C 018B                move.w     D0, 0x18B
  3113. label000020CC:
  3114. 000020CC  22D8                     move.l     [A1]+, [A0]+
  3115. 000020CE  51C8 FFFC                dbf        D0, -0x6 /* 000020CC */
  3116. 000020D2  41EA 0648                lea.l      A0, [A2 + 0x648]
  3117. 000020D6  43EA 0C78                lea.l      A1, [A2 + 0xC78]
  3118. 000020DA  303C 018B                move.w     D0, 0x18B
  3119. label000020DE:
  3120. 000020DE  22D8                     move.l     [A1]+, [A0]+
  3121. 000020E0  51C8 FFFC                dbf        D0, -0x6 /* 000020DE */
  3122. 000020E4  0C43 FF87                cmpi.w     D3, 0xFF87
  3123. 000020E8  6706                     beq        +0x8 /* 000020F0 */
  3124. 000020EA  0C43 FF86                cmpi.w     D3, 0xFF86
  3125. 000020EE  660E                     bne        +0x10 /* 000020FE */
  3126. label000020F0:
  3127. 000020F0  3003                     move.w     D0, D3
  3128. 000020F2  48C0                     ext.l      D0
  3129. 000020F4  7288                     moveq.l    D1, 0xFFFFFF88
  3130. 000020F6  9280                     sub.l      D1, D0
  3131. 000020F8  3F01                     move.w     -[A7], D1
  3132. 000020FA  4EAD C710                jsr        [A5 - 0x38F0]
  3133. label000020FE:
  3134. 000020FE  4A84                     tst.l      D4
  3135. 00002100  6F0A                     ble        +0xC /* 0000210C */
  3136. 00002102  594F                     subq.w     A7, 4
  3137. 00002104  A975                     syscall    TickCount
  3138. 00002106  201F                     move.l     D0, [A7]+
  3139. 00002108  BA80                     cmp.l      D5, D0
  3140. 0000210A  6328                     bls        +0x2A /* 00002134 */
  3141. label0000210C:
  3142. 0000210C  3003                     move.w     D0, D3
  3143. 0000210E  48C0                     ext.l      D0
  3144. 00002110  6702                     beq        +0x4 /* 00002114 */
  3145. 00002112  6020                     bra        +0x22 /* 00002134 */
  3146. label00002114:
  3147. 00002114  4267                     clr.w      -[A7]
  3148. 00002116  1F3C 0001                move.b     -[A7], 0x1
  3149. 0000211A  4EBA F934                jsr        [PC - 0x6CC /* 00001A50 */]
  3150. 0000211E  0C43 FF80                cmpi.w     D3, 0xFF80
  3151. 00002122  57C0                     seq        D0
  3152. 00002124  4400                     neg.b      D0
  3153. 00002126  49C0                     lea.l      A4, D0
  3154. 00002128  1F00                     move.b     -[A7], D0
  3155. 0000212A  4EBA FE7E                jsr        [PC - 0x182 /* 00001FAA */]
  3156. 0000212E  4A40                     tst.w      D0
  3157. 00002130  5C4F                     addq.w     A7, 6
  3158. 00002132  67CA                     beq        -0x34 /* 000020FE */
  3159. label00002134:
  3160. 00002134  41D7                     lea.l      A0, [A7]
  3161. 00002136  43EA 0C78                lea.l      A1, [A2 + 0xC78]
  3162. 0000213A  303C 018B                move.w     D0, 0x18B
  3163. label0000213E:
  3164. 0000213E  22D8                     move.l     [A1]+, [A0]+
  3165. 00002140  51C8 FFFC                dbf        D0, -0x6 /* 0000213E */
  3166. 00002144  4A84                     tst.l      D4
  3167. 00002146  660C                     bne        +0xE /* 00002154 */
  3168. 00002148  4EAD BA70                jsr        [A5 - 0x4590]
  3169. 0000214C  4A06                     tst.b      D6
  3170. 0000214E  6704                     beq        +0x6 /* 00002154 */
  3171. 00002150  4EAD BA48                jsr        [A5 - 0x45B8]
  3172. label00002154:
  3173. 00002154  4FEF 0630                lea.l      A7, [A7 + 0x630]
  3174. 00002158  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  3175. 0000215C  4E75                     rts
  3176. fn0000215E:
  3177. 0000215E  4AAD 231E                tst.l      [A5 + 0x231E]
  3178. 00002162  670A                     beq        +0xC /* 0000216E */
  3179. 00002164  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  3180. 00002168  206D 231E                movea.l    A0, [A5 + 0x231E]
  3181. 0000216C  4E90                     jsr        [A0]
  3182. label0000216E:
  3183. 0000216E  4E75                     rts
  3184. fn00002170:
  3185. 00002170  48E7 1E20                movem.l    -[A7], D3,D4,D5,D6,A2
  3186. 00002174  246F 0018                movea.l    A2, [A7 + 0x18]
  3187. 00002178  3A2F 001C                move.w     D5, [A7 + 0x1C]
  3188. 0000217C  7600                     moveq.l    D3, 0x00
  3189. 0000217E  7C00                     moveq.l    D6, 0x00
  3190. 00002180  3005                     move.w     D0, D5
  3191. 00002182  48C0                     ext.l      D0
  3192. 00002184  721E                     moveq.l    D1, 0x1E
  3193. 00002186  9280                     sub.l      D1, D0
  3194. 00002188  3A01                     move.w     D5, D1
  3195. label0000218A:
  3196. 0000218A  594F                     subq.w     A7, 4
  3197. 0000218C  A975                     syscall    TickCount
  3198. 0000218E  201F                     move.l     D0, [A7]+
  3199. 00002190  2800                     move.l     D4, D0
  3200. 00002192  B886                     cmp.l      D4, D6
  3201. 00002194  6F18                     ble        +0x1A /* 000021AE */
  3202. 00002196  2C04                     move.l     D6, D4
  3203. 00002198  2F0A                     move.l     -[A7], A2
  3204. 0000219A  4EAD D758                jsr        [A5 - 0x28A8]
  3205. 0000219E  1600                     move.b     D3, D0
  3206. 000021A0  52AD 2322                addq.l     [A5 + 0x2322 /* export_1120 */], 1
  3207. 000021A4  2F2D 2322                move.l     -[A7], [A5 + 0x2322 /* export_1120 */]
  3208. 000021A8  4EBA FFB4                jsr        [PC - 0x4C /* 0000215E */]
  3209. 000021AC  504F                     addq.w     A7, 8
  3210. label000021AE:
  3211. 000021AE  4A03                     tst.b      D3
  3212. 000021B0  662A                     bne        +0x2C /* 000021DC */
  3213. 000021B2  4A45                     tst.w      D5
  3214. 000021B4  6F0C                     ble        +0xE /* 000021C2 */
  3215. 000021B6  4267                     clr.w      -[A7]
  3216. 000021B8  3045                     movea.w    A0, D5
  3217. 000021BA  2F08                     move.l     -[A7], A0
  3218. 000021BC  4EBA FEBC                jsr        [PC - 0x144 /* 0000207A */]
  3219. 000021C0  5C4F                     addq.w     A7, 6
  3220. label000021C2:
  3221. 000021C2  4227                     clr.b      -[A7]
  3222. 000021C4  4EBA FDE4                jsr        [PC - 0x21C /* 00001FAA */]
  3223. 000021C8  4A40                     tst.w      D0
  3224. 000021CA  544F                     addq.w     A7, 2
  3225. 000021CC  670E                     beq        +0x10 /* 000021DC */
  3226. 000021CE  2F0A                     move.l     -[A7], A2
  3227. 000021D0  4EAD D760                jsr        [A5 - 0x28A0]
  3228. 000021D4  584F                     addq.w     A7, 4
  3229. 000021D6  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  3230. 000021DA  4E75                     rts
  3231. label000021DC:
  3232. 000021DC  4A03                     tst.b      D3
  3233. 000021DE  67AA                     beq        -0x54 /* 0000218A */
  3234. 000021E0  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  3235. 000021E4  4E75                     rts
  3236. fn000021E6:
  3237. 000021E6  302F 0008                move.w     D0, [A7 + 0x8]
  3238. 000021EA  B06D 205A                cmp.w      D0, [A5 + 0x205A /* export_1031 */]
  3239. 000021EE  660A                     bne        +0xC /* 000021FA */
  3240. 000021F0  302F 000A                move.w     D0, [A7 + 0xA]
  3241. 000021F4  B06D 205C                cmp.w      D0, [A5 + 0x205C]
  3242. 000021F8  6714                     beq        +0x16 /* 0000220E */
  3243. label000021FA:
  3244. 000021FA  206D 204E                movea.l    A0, [A5 + 0x204E]
  3245. 000021FE  2050                     movea.l    A0, [A0]
  3246. 00002200  0C68 0001 0004           cmpi.w     [A0 + 0x4], 0x1
  3247. 00002206  6706                     beq        +0x8 /* 0000220E */
  3248. 00002208  2B6F 0008 205A           move.l     [A5 + 0x205A /* export_1031 */], [A7 + 0x8]
  3249. label0000220E:
  3250. 0000220E  4E75                     rts
  3251. fn00002210:
  3252. 00002210  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  3253. 00002214  246F 0014                movea.l    A2, [A7 + 0x14]
  3254. 00002218  7600                     moveq.l    D3, 0x00
  3255. 0000221A  7A00                     moveq.l    D5, 0x00
  3256. 0000221C  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  3257. 00002220  2F0A                     move.l     -[A7], A2
  3258. 00002222  4EBA FFC2                jsr        [PC - 0x3E /* 000021E6 */]
  3259. 00002226  504F                     addq.w     A7, 8
  3260. label00002228:
  3261. 00002228  594F                     subq.w     A7, 4
  3262. 0000222A  A975                     syscall    TickCount
  3263. 0000222C  201F                     move.l     D0, [A7]+
  3264. 0000222E  2800                     move.l     D4, D0
  3265. 00002230  B885                     cmp.l      D4, D5
  3266. 00002232  6F18                     ble        +0x1A /* 0000224C */
  3267. 00002234  2A04                     move.l     D5, D4
  3268. 00002236  2F0A                     move.l     -[A7], A2
  3269. 00002238  4EAD D750                jsr        [A5 - 0x28B0]
  3270. 0000223C  1600                     move.b     D3, D0
  3271. 0000223E  52AD 2322                addq.l     [A5 + 0x2322 /* export_1120 */], 1
  3272. 00002242  2F2D 2322                move.l     -[A7], [A5 + 0x2322 /* export_1120 */]
  3273. 00002246  4EBA FF16                jsr        [PC - 0xEA /* 0000215E */]
  3274. 0000224A  504F                     addq.w     A7, 8
  3275. label0000224C:
  3276. 0000224C  4A03                     tst.b      D3
  3277. 0000224E  661A                     bne        +0x1C /* 0000226A */
  3278. 00002250  4227                     clr.b      -[A7]
  3279. 00002252  4EBA FD56                jsr        [PC - 0x2AA /* 00001FAA */]
  3280. 00002256  4A40                     tst.w      D0
  3281. 00002258  544F                     addq.w     A7, 2
  3282. 0000225A  670E                     beq        +0x10 /* 0000226A */
  3283. 0000225C  2F0A                     move.l     -[A7], A2
  3284. 0000225E  4EAD D760                jsr        [A5 - 0x28A0]
  3285. 00002262  584F                     addq.w     A7, 4
  3286. 00002264  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  3287. 00002268  4E75                     rts
  3288. label0000226A:
  3289. 0000226A  4A03                     tst.b      D3
  3290. 0000226C  67BA                     beq        -0x44 /* 00002228 */
  3291. 0000226E  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  3292. 00002272  4E75                     rts
  3293. fn00002274:
  3294. 00002274  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3295. 00002278  41E8 1444                lea.l      A0, [A0 + 0x1444]
  3296. 0000227C  7004                     moveq.l    D0, 0x04
  3297. 0000227E  0A00 0018                xori.b     D0, 0x18
  3298. 00002282  3200                     move.w     D1, D0
  3299. 00002284  E648                     lsr        D0.w, 3
  3300. 00002286  0330 0000                btst       [A0 + D0.w], D1
  3301. 0000228A  6604                     bne        +0x6 /* 00002290 */
  3302. 0000228C  7000                     moveq.l    D0, 0x00
  3303. 0000228E  6002                     bra        +0x4 /* 00002292 */
  3304. label00002290:
  3305. 00002290  7001                     moveq.l    D0, 0x01
  3306. label00002292:
  3307. 00002292  4A00                     tst.b      D0
  3308. 00002294  671C                     beq        +0x1E /* 000022B2 */
  3309. 00002296  554F                     subq.w     A7, 2
  3310. 00002298  3F3C 0001                move.w     -[A7], 0x1
  3311. 0000229C  4EAD C6E8                jsr        [A5 - 0x3918]
  3312. 000022A0  101F                     move.b     D0, [A7]+
  3313. 000022A2  670E                     beq        +0x10 /* 000022B2 */
  3314. 000022A4  3F3C 0001                move.w     -[A7], 0x1
  3315. 000022A8  4EAD C720                jsr        [A5 - 0x38E0]
  3316. 000022AC  1B7C 0001 1BF8           move.b     [A5 + 0x1BF8], 0x1
  3317. label000022B2:
  3318. 000022B2  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3319. 000022B6  41E8 1444                lea.l      A0, [A0 + 0x1444]
  3320. 000022BA  7003                     moveq.l    D0, 0x03
  3321. 000022BC  0A00 0018                xori.b     D0, 0x18
  3322. 000022C0  3200                     move.w     D1, D0
  3323. 000022C2  E648                     lsr        D0.w, 3
  3324. 000022C4  0330 0000                btst       [A0 + D0.w], D1
  3325. 000022C8  6604                     bne        +0x6 /* 000022CE */
  3326. 000022CA  7000                     moveq.l    D0, 0x00
  3327. 000022CC  6002                     bra        +0x4 /* 000022D0 */
  3328. label000022CE:
  3329. 000022CE  7001                     moveq.l    D0, 0x01
  3330. label000022D0:
  3331. 000022D0  4A00                     tst.b      D0
  3332. 000022D2  671C                     beq        +0x1E /* 000022F0 */
  3333. 000022D4  554F                     subq.w     A7, 2
  3334. 000022D6  3F3C 0002                move.w     -[A7], 0x2
  3335. 000022DA  4EAD C6E8                jsr        [A5 - 0x3918]
  3336. 000022DE  101F                     move.b     D0, [A7]+
  3337. 000022E0  670E                     beq        +0x10 /* 000022F0 */
  3338. 000022E2  3F3C 0002                move.w     -[A7], 0x2
  3339. 000022E6  4EAD C720                jsr        [A5 - 0x38E0]
  3340. 000022EA  1B7C 0001 1BF7           move.b     [A5 + 0x1BF7], 0x1
  3341. label000022F0:
  3342. 000022F0  4A2D 1BF8                tst.b      [A5 + 0x1BF8]
  3343. 000022F4  6746                     beq        +0x48 /* 0000233C */
  3344. 000022F6  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3345. 000022FA  41E8 1444                lea.l      A0, [A0 + 0x1444]
  3346. 000022FE  7004                     moveq.l    D0, 0x04
  3347. 00002300  0A00 0018                xori.b     D0, 0x18
  3348. 00002304  3200                     move.w     D1, D0
  3349. 00002306  E648                     lsr        D0.w, 3
  3350. 00002308  0330 0000                btst       [A0 + D0.w], D1
  3351. 0000230C  6604                     bne        +0x6 /* 00002312 */
  3352. 0000230E  7000                     moveq.l    D0, 0x00
  3353. 00002310  6002                     bra        +0x4 /* 00002314 */
  3354. label00002312:
  3355. 00002312  7001                     moveq.l    D0, 0x01
  3356. label00002314:
  3357. 00002314  4A00                     tst.b      D0
  3358. 00002316  6624                     bne        +0x26 /* 0000233C */
  3359. 00002318  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3360. 0000231C  4A28 1703                tst.b      [A0 + 0x1703]
  3361. 00002320  661A                     bne        +0x1C /* 0000233C */
  3362. 00002322  4A2D 1BF4                tst.b      [A5 + 0x1BF4]
  3363. 00002326  6714                     beq        +0x16 /* 0000233C */
  3364. 00002328  422D 1BF8                clr.b      [A5 + 0x1BF8]
  3365. 0000232C  3F3C 0001                move.w     -[A7], 0x1
  3366. 00002330  4227                     clr.b      -[A7]
  3367. 00002332  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  3368. 00002336  4EAD B2E8                jsr        [A5 - 0x4D18]
  3369. 0000233A  504F                     addq.w     A7, 8
  3370. label0000233C:
  3371. 0000233C  4A2D 1BF7                tst.b      [A5 + 0x1BF7]
  3372. 00002340  6746                     beq        +0x48 /* 00002388 */
  3373. 00002342  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3374. 00002346  41E8 1444                lea.l      A0, [A0 + 0x1444]
  3375. 0000234A  7003                     moveq.l    D0, 0x03
  3376. 0000234C  0A00 0018                xori.b     D0, 0x18
  3377. 00002350  3200                     move.w     D1, D0
  3378. 00002352  E648                     lsr        D0.w, 3
  3379. 00002354  0330 0000                btst       [A0 + D0.w], D1
  3380. 00002358  6604                     bne        +0x6 /* 0000235E */
  3381. 0000235A  7000                     moveq.l    D0, 0x00
  3382. 0000235C  6002                     bra        +0x4 /* 00002360 */
  3383. label0000235E:
  3384. 0000235E  7001                     moveq.l    D0, 0x01
  3385. label00002360:
  3386. 00002360  4A00                     tst.b      D0
  3387. 00002362  6624                     bne        +0x26 /* 00002388 */
  3388. 00002364  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3389. 00002368  4A28 1703                tst.b      [A0 + 0x1703]
  3390. 0000236C  661A                     bne        +0x1C /* 00002388 */
  3391. 0000236E  4A2D 1BF4                tst.b      [A5 + 0x1BF4]
  3392. 00002372  6714                     beq        +0x16 /* 00002388 */
  3393. 00002374  422D 1BF7                clr.b      [A5 + 0x1BF7]
  3394. 00002378  3F3C 0002                move.w     -[A7], 0x2
  3395. 0000237C  4227                     clr.b      -[A7]
  3396. 0000237E  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  3397. 00002382  4EAD B2E8                jsr        [A5 - 0x4D18]
  3398. 00002386  504F                     addq.w     A7, 8
  3399. label00002388:
  3400. 00002388  4E75                     rts
  3401. fn0000238A:
  3402. 0000238A  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  3403. 0000238E  266F 001C                movea.l    A3, [A7 + 0x1C]
  3404. 00002392  7606                     moveq.l    D3, 0x06
  3405. 00002394  6000 0082                bra        +0x84 /* 00002418 */
  3406. label00002398:
  3407. 00002398  3003                     move.w     D0, D3
  3408. 0000239A  48C0                     ext.l      D0
  3409. 0000239C  5980                     subq.l     D0, 4
  3410. 0000239E  4C3C 0800 0000           movem.w    A3, 0x0
  3411. 000023A4  0018 2C4B                ori.b      [A0]+, 0x4B /* 'K' */
  3412. 000023A8  DDC0                     add.l      A6, D0
  3413. 000023AA  244E                     movea.l    A2, A6
  3414. 000023AC  45EA 0C78                lea.l      A2, [A2 + 0xC78]
  3415. 000023B0  284E                     movea.l    A4, A6
  3416. 000023B2  49EC 0648                lea.l      A4, [A4 + 0x648]
  3417. 000023B6  1012                     move.b     D0, [A2]
  3418. 000023B8  B014                     cmp.b      D0, [A4]
  3419. 000023BA  6614                     bne        +0x16 /* 000023D0 */
  3420. 000023BC  302A 0002                move.w     D0, [A2 + 0x2]
  3421. 000023C0  B06C 0002                cmp.w      D0, [A4 + 0x2]
  3422. 000023C4  660A                     bne        +0xC /* 000023D0 */
  3423. 000023C6  302A 0004                move.w     D0, [A2 + 0x4]
  3424. 000023CA  B06C 0004                cmp.w      D0, [A4 + 0x4]
  3425. 000023CE  6746                     beq        +0x48 /* 00002416 */
  3426. label000023D0:
  3427. 000023D0  4A12                     tst.b      [A2]
  3428. 000023D2  6734                     beq        +0x36 /* 00002408 */
  3429. 000023D4  3003                     move.w     D0, D3
  3430. 000023D6  48C0                     ext.l      D0
  3431. 000023D8  5D80                     subq.l     D0, 6
  3432. 000023DA  4C3C 0800 0000           movem.w    A3, 0x0
  3433. 000023E0  000C 204B                ori.b      A4, 0x4B /* 'K' */
  3434. 000023E4  D1C0                     add.l      A0, D0
  3435. 000023E6  2808                     move.l     D4, A0
  3436. 000023E8  2044                     movea.l    A0, D4
  3437. 000023EA  3028 1498                move.w     D0, [A0 + 0x1498]
  3438. 000023EE  B06A 0002                cmp.w      D0, [A2 + 0x2]
  3439. 000023F2  6614                     bne        +0x16 /* 00002408 */
  3440. 000023F4  3028 149A                move.w     D0, [A0 + 0x149A]
  3441. 000023F8  B06A 0004                cmp.w      D0, [A2 + 0x4]
  3442. 000023FC  660A                     bne        +0xC /* 00002408 */
  3443. 000023FE  3F03                     move.w     -[A7], D3
  3444. 00002400  2F0B                     move.l     -[A7], A3
  3445. 00002402  4EAD DC40                jsr        [A5 - 0x23C0]
  3446. 00002406  5C4F                     addq.w     A7, 6
  3447. label00002408:
  3448. 00002408  4A14                     tst.b      [A4]
  3449. 0000240A  670A                     beq        +0xC /* 00002416 */
  3450. 0000240C  3F03                     move.w     -[A7], D3
  3451. 0000240E  2F0B                     move.l     -[A7], A3
  3452. 00002410  4EAD DC38                jsr        [A5 - 0x23C8]
  3453. 00002414  5C4F                     addq.w     A7, 6
  3454. label00002416:
  3455. 00002416  5243                     addq.w     D3, 1
  3456. label00002418:
  3457. 00002418  0C43 0035                cmpi.w     D3, 0x35 /* '5' */
  3458. 0000241C  6F00 FF7A                ble        -0x84 /* 00002398 */
  3459. 00002420  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3460. 00002424  4E75                     rts
  3461. fn00002426:
  3462. 00002426  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3463. 0000242A  4FEF FF54                lea.l      A7, [A7 - 0xAC]
  3464. 0000242E  1E2F 00D8                move.b     D7, [A7 + 0xD8]
  3465. 00002432  266F 00DA                movea.l    A3, [A7 + 0xDA]
  3466. 00002436  2C6F 00DE                movea.l    A6, [A7 + 0xDE]
  3467. 0000243A  3C2F 00E6                move.w     D6, [A7 + 0xE6]
  3468. 0000243E  246F 00E8                movea.l    A2, [A7 + 0xE8]
  3469. 00002442  7800                     moveq.l    D4, 0x00
  3470. 00002444  99CC                     sub.l      A4, A4
  3471. 00002446  3EBC FFFF                move.w     [A7], 0xFFFF
  3472. 0000244A  7600                     moveq.l    D3, 0x00
  3473. 0000244C  302F 00D4                move.w     D0, [A7 + 0xD4]
  3474. 00002450  0280 0000 8000           andi.l     D0, 0x8000
  3475. 00002456  4A80                     tst.l      D0
  3476. 00002458  670E                     beq        +0x10 /* 00002468 */
  3477. 0000245A  302F 00D6                move.w     D0, [A7 + 0xD6]
  3478. 0000245E  0280 0000 8000           andi.l     D0, 0x8000
  3479. 00002464  4A80                     tst.l      D0
  3480. 00002466  6616                     bne        +0x18 /* 0000247E */
  3481. label00002468:
  3482. 00002468  4857                     pea.l      [A7]
  3483. 0000246A  2F2F 00D8                move.l     -[A7], [A7 + 0xD8]
  3484. 0000246E  4EAD B2E0                jsr        [A5 - 0x4D20]
  3485. 00002472  4A00                     tst.b      D0
  3486. 00002474  57C0                     seq        D0
  3487. 00002476  4400                     neg.b      D0
  3488. 00002478  49C0                     lea.l      A4, D0
  3489. 0000247A  1600                     move.b     D3, D0
  3490. 0000247C  504F                     addq.w     A7, 8
  3491. label0000247E:
  3492. 0000247E  4A03                     tst.b      D3
  3493. 00002480  6618                     bne        +0x1A /* 0000249A */
  3494. 00002482  486F 0002                pea.l      [A7 + 0x2]
  3495. 00002486  2F2F 00D8                move.l     -[A7], [A7 + 0xD8]
  3496. 0000248A  4EBA 1DDE                jsr        [PC + 0x1DDE /* 0000426A */]
  3497. 0000248E  4A00                     tst.b      D0
  3498. 00002490  57C0                     seq        D0
  3499. 00002492  4400                     neg.b      D0
  3500. 00002494  49C0                     lea.l      A4, D0
  3501. 00002496  1600                     move.b     D3, D0
  3502. 00002498  504F                     addq.w     A7, 8
  3503. label0000249A:
  3504. 0000249A  4A03                     tst.b      D3
  3505. 0000249C  6746                     beq        +0x48 /* 000024E4 */
  3506. 0000249E  2F2D 2322                move.l     -[A7], [A5 + 0x2322 /* export_1120 */]
  3507. 000024A2  4EBA FCBA                jsr        [PC - 0x346 /* 0000215E */]
  3508. 000024A6  2F2D 20BE                move.l     -[A7], [A5 + 0x20BE]
  3509. 000024AA  A873                     syscall    SetPort
  3510. 000024AC  47ED 20A8                lea.l      A3, [A5 + 0x20A8]
  3511. 000024B0  548B                     addq.l     A3, 2
  3512. 000024B2  486D 20B6                pea.l      [A5 + 0x20B6]
  3513. 000024B6  A8AE                     syscall    EmptyRect
  3514. 000024B8  101F                     move.b     D0, [A7]+
  3515. 000024BA  544F                     addq.w     A7, 2
  3516. 000024BC  6608                     bne        +0xA /* 000024C6 */
  3517. 000024BE  47ED 20A8                lea.l      A3, [A5 + 0x20A8]
  3518. 000024C2  508B                     addq.l     A3, 8
  3519. 000024C4  5C8B                     addq.l     A3, 6
  3520. label000024C6:
  3521. 000024C6  3F3C 0002                move.w     -[A7], 0x2
  3522. 000024CA  4227                     clr.b      -[A7]
  3523. 000024CC  4EBA F582                jsr        [PC - 0xA7E /* 00001A50 */]
  3524. 000024D0  2F0B                     move.l     -[A7], A3
  3525. 000024D2  486D 20A8                pea.l      [A5 + 0x20A8]
  3526. 000024D6  4EAD BD20                jsr        [A5 - 0x42E0]
  3527. 000024DA  7601                     moveq.l    D3, 0x01
  3528. 000024DC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3529. 000024E0  6000 0208                bra        +0x20A /* 000026EA */
  3530. label000024E4:
  3531. 000024E4  4A07                     tst.b      D7
  3532. 000024E6  6714                     beq        +0x16 /* 000024FC */
  3533. 000024E8  486F 0002                pea.l      [A7 + 0x2]
  3534. 000024EC  4EAD DF18                jsr        [A5 - 0x20E8]
  3535. 000024F0  4A00                     tst.b      D0
  3536. 000024F2  584F                     addq.w     A7, 4
  3537. 000024F4  6606                     bne        +0x8 /* 000024FC */
  3538. 000024F6  7600                     moveq.l    D3, 0x00
  3539. 000024F8  6000 01E6                bra        +0x1E8 /* 000026E0 */
  3540. label000024FC:
  3541. 000024FC  4A13                     tst.b      [A3]
  3542. 000024FE  674A                     beq        +0x4C /* 0000254A */
  3543. 00002500  200E                     move.l     D0, A6
  3544. 00002502  4A80                     tst.l      D0
  3545. 00002504  6742                     beq        +0x44 /* 00002548 */
  3546. 00002506  594F                     subq.w     A7, 4
  3547. 00002508  AA32                     syscall    GetGDevice
  3548. 0000250A  205F                     movea.l    A0, [A7]+
  3549. 0000250C  2648                     movea.l    A3, A0
  3550. 0000250E  4267                     clr.w      -[A7]
  3551. 00002510  42A7                     clr.l      -[A7]
  3552. 00002512  2F0E                     move.l     -[A7], A6
  3553. 00002514  4EAD D708                jsr        [A5 - 0x28F8]
  3554. 00002518  4A6D 1BEE                tst.w      [A5 + 0x1BEE]
  3555. 0000251C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3556. 00002520  6D04                     blt        +0x6 /* 00002526 */
  3557. 00002522  4EAD AEA0                jsr        [A5 - 0x5160]
  3558. label00002526:
  3559. 00002526  2053                     movea.l    A0, [A3]
  3560. 00002528  2068 0016                movea.l    A0, [A0 + 0x16]
  3561. 0000252C  2050                     movea.l    A0, [A0]
  3562. 0000252E  2068 002A                movea.l    A0, [A0 + 0x2A]
  3563. 00002532  2050                     movea.l    A0, [A0]
  3564. 00002534  2253                     movea.l    A1, [A3]
  3565. 00002536  2269 0006                movea.l    A1, [A1 + 0x6]
  3566. 0000253A  2251                     movea.l    A1, [A1]
  3567. 0000253C  2290                     move.l     [A1], [A0]
  3568. 0000253E  2B4E 1BE4                move.l     [A5 + 0x1BE4], A6
  3569. 00002542  4EAD AAD0                jsr        [A5 - 0x5530]
  3570. 00002546  6002                     bra        +0x4 /* 0000254A */
  3571. label00002548:
  3572. 00002548  4213                     clr.b      [A3]
  3573. label0000254A:
  3574. 0000254A  47ED 20A8                lea.l      A3, [A5 + 0x20A8]
  3575. 0000254E  548B                     addq.l     A3, 2
  3576. 00002550  486F 0002                pea.l      [A7 + 0x2]
  3577. 00002554  2F2F 00D8                move.l     -[A7], [A7 + 0xD8]
  3578. 00002558  4EAD DEF0                jsr        [A5 - 0x2110]
  3579. 0000255C  4A00                     tst.b      D0
  3580. 0000255E  504F                     addq.w     A7, 8
  3581. 00002560  6704                     beq        +0x6 /* 00002566 */
  3582. 00002562  7601                     moveq.l    D3, 0x01
  3583. 00002564  6002                     bra        +0x4 /* 00002568 */
  3584. label00002566:
  3585. 00002566  7602                     moveq.l    D3, 0x02
  3586. label00002568:
  3587. 00002568  3F03                     move.w     -[A7], D3
  3588. 0000256A  4227                     clr.b      -[A7]
  3589. 0000256C  4EBA F4E2                jsr        [PC - 0xB1E /* 00001A50 */]
  3590. 00002570  0C43 0002                cmpi.w     D3, 0x2
  3591. 00002574  584F                     addq.w     A7, 4
  3592. 00002576  6614                     bne        +0x16 /* 0000258C */
  3593. 00002578  554F                     subq.w     A7, 2
  3594. 0000257A  486D 20B6                pea.l      [A5 + 0x20B6]
  3595. 0000257E  A8AE                     syscall    EmptyRect
  3596. 00002580  101F                     move.b     D0, [A7]+
  3597. 00002582  6608                     bne        +0xA /* 0000258C */
  3598. 00002584  47ED 20A8                lea.l      A3, [A5 + 0x20A8]
  3599. 00002588  508B                     addq.l     A3, 8
  3600. 0000258A  5C8B                     addq.l     A3, 6
  3601. label0000258C:
  3602. 0000258C  2F2D 2322                move.l     -[A7], [A5 + 0x2322 /* export_1120 */]
  3603. 00002590  4EBA FBCC                jsr        [PC - 0x434 /* 0000215E */]
  3604. 00002594  2F2D 20BE                move.l     -[A7], [A5 + 0x20BE]
  3605. 00002598  A873                     syscall    SetPort
  3606. 0000259A  7600                     moveq.l    D3, 0x00
  3607. 0000259C  4A07                     tst.b      D7
  3608. 0000259E  584F                     addq.w     A7, 4
  3609. 000025A0  6708                     beq        +0xA /* 000025AA */
  3610. 000025A2  0C46 0005                cmpi.w     D6, 0x5
  3611. 000025A6  6702                     beq        +0x4 /* 000025AA */
  3612. 000025A8  3606                     move.w     D3, D6
  3613. label000025AA:
  3614. 000025AA  2F2F 00E2                move.l     -[A7], [A7 + 0xE2]
  3615. 000025AE  2F0E                     move.l     -[A7], A6
  3616. 000025B0  3F03                     move.w     -[A7], D3
  3617. 000025B2  2F0B                     move.l     -[A7], A3
  3618. 000025B4  486F 0010                pea.l      [A7 + 0x10]
  3619. 000025B8  4EBA 1DA0                jsr        [PC + 0x1DA0 /* 0000435A */]
  3620. 000025BC  4A00                     tst.b      D0
  3621. 000025BE  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3622. 000025C2  6612                     bne        +0x14 /* 000025D6 */
  3623. 000025C4  2F0B                     move.l     -[A7], A3
  3624. 000025C6  486D 20A8                pea.l      [A5 + 0x20A8]
  3625. 000025CA  4EAD BD20                jsr        [A5 - 0x42E0]
  3626. 000025CE  7601                     moveq.l    D3, 0x01
  3627. 000025D0  504F                     addq.w     A7, 8
  3628. 000025D2  6000 010C                bra        +0x10E /* 000026E0 */
  3629. label000025D6:
  3630. 000025D6  4AAD 2090                tst.l      [A5 + 0x2090]
  3631. 000025DA  661A                     bne        +0x1C /* 000025F6 */
  3632. 000025DC  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  3633. 000025E0  0C68 00FF 03A4           cmpi.w     [A0 + 0x3A4], 0xFF
  3634. 000025E6  6608                     bne        +0xA /* 000025F0 */
  3635. 000025E8  486D 2420                pea.l      [A5 + 0x2420]
  3636. 000025EC  A87C                     syscall    BackPat
  3637. 000025EE  6006                     bra        +0x8 /* 000025F6 */
  3638. label000025F0:
  3639. 000025F0  486D 2428                pea.l      [A5 + 0x2428]
  3640. 000025F4  A87C                     syscall    BackPat
  3641. label000025F6:
  3642. 000025F6  4EAD D728                jsr        [A5 - 0x28D8]
  3643. 000025FA  2848                     movea.l    A4, A0
  3644. 000025FC  200C                     move.l     D0, A4
  3645. 000025FE  6710                     beq        +0x12 /* 00002610 */
  3646. 00002600  486F 0002                pea.l      [A7 + 0x2]
  3647. 00002604  4EAD DF20                jsr        [A5 - 0x20E0]
  3648. 00002608  4A00                     tst.b      D0
  3649. 0000260A  584F                     addq.w     A7, 4
  3650. 0000260C  6602                     bne        +0x4 /* 00002610 */
  3651. 0000260E  99CC                     sub.l      A4, A4
  3652. label00002610:
  3653. 00002610  7600                     moveq.l    D3, 0x00
  3654. 00002612  2A3C 0000 00FA           move.l     D5, 0xFA
  3655. label00002618:
  3656. 00002618  4EAD AEE8                jsr        [A5 - 0x5118]
  3657. 0000261C  4A00                     tst.b      D0
  3658. 0000261E  661C                     bne        +0x1E /* 0000263C */
  3659. 00002620  BAAF 0052                cmp.l      D5, [A7 + 0x52]
  3660. 00002624  6C16                     bge        +0x18 /* 0000263C */
  3661. 00002626  4227                     clr.b      -[A7]
  3662. 00002628  4EBA F980                jsr        [PC - 0x680 /* 00001FAA */]
  3663. 0000262C  4A40                     tst.w      D0
  3664. 0000262E  544F                     addq.w     A7, 2
  3665. 00002630  663E                     bne        +0x40 /* 00002670 */
  3666. 00002632  2A2F 0052                move.l     D5, [A7 + 0x52]
  3667. 00002636  0685 0000 00FA           addi.l     D5, 0xFA
  3668. label0000263C:
  3669. 0000263C  486F 0002                pea.l      [A7 + 0x2]
  3670. 00002640  4EBA 1F0A                jsr        [PC + 0x1F0A /* 0000454C */]
  3671. 00002644  5300                     subq.b     D0, 1
  3672. 00002646  57C0                     seq        D0
  3673. 00002648  4400                     neg.b      D0
  3674. 0000264A  49C0                     lea.l      A4, D0
  3675. 0000264C  1600                     move.b     D3, D0
  3676. 0000264E  5244                     addq.w     D4, 1
  3677. 00002650  3F04                     move.w     -[A7], D4
  3678. 00002652  302A 16F4                move.w     D0, [A2 + 0x16F4]
  3679. 00002656  48C0                     ext.l      D0
  3680. 00002658  5380                     subq.l     D0, 1
  3681. 0000265A  3F00                     move.w     -[A7], D0
  3682. 0000265C  4EAD A428                jsr        [A5 - 0x5BD8]
  3683. 00002660  2F2D 2322                move.l     -[A7], [A5 + 0x2322 /* export_1120 */]
  3684. 00002664  4EBA FAF8                jsr        [PC - 0x508 /* 0000215E */]
  3685. 00002668  4A03                     tst.b      D3
  3686. 0000266A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3687. 0000266E  67A8                     beq        -0x56 /* 00002618 */
  3688. label00002670:
  3689. 00002670  4AAD 2090                tst.l      [A5 + 0x2090]
  3690. 00002674  6606                     bne        +0x8 /* 0000267C */
  3691. 00002676  486D 2428                pea.l      [A5 + 0x2428]
  3692. 0000267A  A87C                     syscall    BackPat
  3693. label0000267C:
  3694. 0000267C  486F 0002                pea.l      [A7 + 0x2]
  3695. 00002680  4EBA 1FF2                jsr        [PC + 0x1FF2 /* 00004674 */]
  3696. 00002684  200C                     move.l     D0, A4
  3697. 00002686  584F                     addq.w     A7, 4
  3698. 00002688  670C                     beq        +0xE /* 00002696 */
  3699. 0000268A  2F0B                     move.l     -[A7], A3
  3700. 0000268C  486D 20A8                pea.l      [A5 + 0x20A8]
  3701. 00002690  4EAD BD20                jsr        [A5 - 0x42E0]
  3702. 00002694  504F                     addq.w     A7, 8
  3703. label00002696:
  3704. 00002696  4A07                     tst.b      D7
  3705. 00002698  6710                     beq        +0x12 /* 000026AA */
  3706. 0000269A  0C46 0005                cmpi.w     D6, 0x5
  3707. 0000269E  670A                     beq        +0xC /* 000026AA */
  3708. 000026A0  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  3709. 000026A4  4EAD D760                jsr        [A5 - 0x28A0]
  3710. 000026A8  584F                     addq.w     A7, 4
  3711. label000026AA:
  3712. 000026AA  4A2D 1BCC                tst.b      [A5 + 0x1BCC]
  3713. 000026AE  6608                     bne        +0xA /* 000026B8 */
  3714. 000026B0  4EAD AEE8                jsr        [A5 - 0x5118]
  3715. 000026B4  4A00                     tst.b      D0
  3716. 000026B6  6726                     beq        +0x28 /* 000026DE */
  3717. label000026B8:
  3718. 000026B8  2F0A                     move.l     -[A7], A2
  3719. 000026BA  4EAD ACE8                jsr        [A5 - 0x5318]
  3720. 000026BE  2F0A                     move.l     -[A7], A2
  3721. 000026C0  4EAD ACF0                jsr        [A5 - 0x5310]
  3722. 000026C4  2F0A                     move.l     -[A7], A2
  3723. 000026C6  486D 21B2                pea.l      [A5 + 0x21B2 /* export_1074 */]
  3724. 000026CA  2F2A 1470                move.l     -[A7], [A2 + 0x1470]
  3725. 000026CE  2F2A 146C                move.l     -[A7], [A2 + 0x146C]
  3726. 000026D2  3F3C 0029                move.w     -[A7], 0x29 /* ')' */
  3727. 000026D6  4EBA E698                jsr        [PC - 0x1968 /* 00000D70 */]
  3728. 000026DA  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3729. label000026DE:
  3730. 000026DE  7601                     moveq.l    D3, 0x01
  3731. label000026E0:
  3732. 000026E0  486F 0002                pea.l      [A7 + 0x2]
  3733. 000026E4  4EBA 1C12                jsr        [PC + 0x1C12 /* 000042F8 */]
  3734. 000026E8  584F                     addq.w     A7, 4
  3735. label000026EA:
  3736. 000026EA  0C57 FFFF                cmpi.w     [A7], 0xFFFF
  3737. 000026EE  670C                     beq        +0xE /* 000026FC */
  3738. 000026F0  3F17                     move.w     -[A7], [A7]
  3739. 000026F2  2F2F 00D6                move.l     -[A7], [A7 + 0xD6]
  3740. 000026F6  4EAD B2C8                jsr        [A5 - 0x4D38]
  3741. 000026FA  5C4F                     addq.w     A7, 6
  3742. label000026FC:
  3743. 000026FC  1003                     move.b     D0, D3
  3744. 000026FE  4FEF 00AC                lea.l      A7, [A7 + 0xAC]
  3745. 00002702  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3746. 00002706  4E75                     rts
  3747. fn00002708:
  3748. 00002708  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3749. 0000270C  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  3750. 00002710  7800                     moveq.l    D4, 0x00
  3751. 00002712  486D 20DE                pea.l      [A5 + 0x20DE]
  3752. 00002716  4EBA DB58                jsr        [PC - 0x24A8 /* 00000270 */]
  3753. 0000271A  4A00                     tst.b      D0
  3754. 0000271C  584F                     addq.w     A7, 4
  3755. 0000271E  6600 042A                bne        +0x42C /* 00002B4A */
  3756. 00002722  594F                     subq.w     A7, 4
  3757. 00002724  A975                     syscall    TickCount
  3758. 00002726  201F                     move.l     D0, [A7]+
  3759. 00002728  2F40 0008                move.l     [A7 + 0x8], D0
  3760. 0000272C  4EAD AEF8                jsr        [A5 - 0x5108]
  3761. 00002730  2B40 2322                move.l     [A5 + 0x2322 /* export_1120 */], D0
  3762. 00002734  2B40 2326                move.l     [A5 + 0x2326], D0
  3763. 00002738  286D 1C1A                movea.l    A4, [A5 + 0x1C1A /* export_895 */]
  3764. 0000273C  264C                     movea.l    A3, A4
  3765. 0000273E  47EB 0648                lea.l      A3, [A3 + 0x648]
  3766. 00002742  2F0C                     move.l     -[A7], A4
  3767. 00002744  4EBA FC44                jsr        [PC - 0x3BC /* 0000238A */]
  3768. 00002748  4A2D 1BCC                tst.b      [A5 + 0x1BCC]
  3769. 0000274C  584F                     addq.w     A7, 4
  3770. 0000274E  6616                     bne        +0x18 /* 00002766 */
  3771. 00002750  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3772. 00002754  4A28 1701                tst.b      [A0 + 0x1701]
  3773. 00002758  660C                     bne        +0xE /* 00002766 */
  3774. 0000275A  4EAD AEE8                jsr        [A5 - 0x5118]
  3775. 0000275E  4A00                     tst.b      D0
  3776. 00002760  6604                     bne        +0x6 /* 00002766 */
  3777. 00002762  7000                     moveq.l    D0, 0x00
  3778. 00002764  6002                     bra        +0x4 /* 00002768 */
  3779. label00002766:
  3780. 00002766  7001                     moveq.l    D0, 0x01
  3781. label00002768:
  3782. 00002768  1A00                     move.b     D5, D0
  3783. 0000276A  4A2B 0015                tst.b      [A3 + 0x15]
  3784. 0000276E  6C22                     bge        +0x24 /* 00002792 */
  3785. 00002770  4A05                     tst.b      D5
  3786. 00002772  671E                     beq        +0x20 /* 00002792 */
  3787. 00002774  41EC 1444                lea.l      A0, [A4 + 0x1444]
  3788. 00002778  7001                     moveq.l    D0, 0x01
  3789. 0000277A  0A00 0018                xori.b     D0, 0x18
  3790. 0000277E  3200                     move.w     D1, D0
  3791. 00002780  E648                     lsr        D0.w, 3
  3792. 00002782  0330 0000                btst       [A0 + D0.w], D1
  3793. 00002786  6604                     bne        +0x6 /* 0000278C */
  3794. 00002788  7000                     moveq.l    D0, 0x00
  3795. 0000278A  6002                     bra        +0x4 /* 0000278E */
  3796. label0000278C:
  3797. 0000278C  7001                     moveq.l    D0, 0x01
  3798. label0000278E:
  3799. 0000278E  4A00                     tst.b      D0
  3800. 00002790  6704                     beq        +0x6 /* 00002796 */
  3801. label00002792:
  3802. 00002792  7000                     moveq.l    D0, 0x00
  3803. 00002794  6002                     bra        +0x4 /* 00002798 */
  3804. label00002796:
  3805. 00002796  7001                     moveq.l    D0, 0x01
  3806. label00002798:
  3807. 00002798  1E00                     move.b     D7, D0
  3808. 0000279A  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3809. 0000279E  41E8 12D4                lea.l      A0, [A0 + 0x12D4]
  3810. 000027A2  7002                     moveq.l    D0, 0x02
  3811. 000027A4  0A00 0018                xori.b     D0, 0x18
  3812. 000027A8  3200                     move.w     D1, D0
  3813. 000027AA  E648                     lsr        D0.w, 3
  3814. 000027AC  0330 0000                btst       [A0 + D0.w], D1
  3815. 000027B0  6604                     bne        +0x6 /* 000027B6 */
  3816. 000027B2  7000                     moveq.l    D0, 0x00
  3817. 000027B4  6002                     bra        +0x4 /* 000027B8 */
  3818. label000027B6:
  3819. 000027B6  7001                     moveq.l    D0, 0x01
  3820. label000027B8:
  3821. 000027B8  4A00                     tst.b      D0
  3822. 000027BA  670C                     beq        +0xE /* 000027C8 */
  3823. 000027BC  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3824. 000027C0  2F68 1490 000C           move.l     [A7 + 0xC], [A0 + 0x1490]
  3825. 000027C6  6006                     bra        +0x8 /* 000027CE */
  3826. label000027C8:
  3827. 000027C8  2F6B 000C 000C           move.l     [A7 + 0xC], [A3 + 0xC]
  3828. label000027CE:
  3829. 000027CE  4A05                     tst.b      D5
  3830. 000027D0  672E                     beq        +0x30 /* 00002800 */
  3831. 000027D2  41EC 1444                lea.l      A0, [A4 + 0x1444]
  3832. 000027D6  7002                     moveq.l    D0, 0x02
  3833. 000027D8  0A00 0018                xori.b     D0, 0x18
  3834. 000027DC  3200                     move.w     D1, D0
  3835. 000027DE  E648                     lsr        D0.w, 3
  3836. 000027E0  0330 0000                btst       [A0 + D0.w], D1
  3837. 000027E4  6604                     bne        +0x6 /* 000027EA */
  3838. 000027E6  7000                     moveq.l    D0, 0x00
  3839. 000027E8  6002                     bra        +0x4 /* 000027EC */
  3840. label000027EA:
  3841. 000027EA  7001                     moveq.l    D0, 0x01
  3842. label000027EC:
  3843. 000027EC  4A00                     tst.b      D0
  3844. 000027EE  6610                     bne        +0x12 /* 00002800 */
  3845. 000027F0  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  3846. 000027F4  4EAD DEF8                jsr        [A5 - 0x2108]
  3847. 000027F8  4A00                     tst.b      D0
  3848. 000027FA  584F                     addq.w     A7, 4
  3849. 000027FC  6702                     beq        +0x4 /* 00002800 */
  3850. 000027FE  7801                     moveq.l    D4, 0x01
  3851. label00002800:
  3852. 00002800  4EBA FA72                jsr        [PC - 0x58E /* 00002274 */]
  3853. 00002804  7600                     moveq.l    D3, 0x00
  3854. 00002806  422F 0007                clr.b      [A7 + 0x7]
  3855. 0000280A  4A2D 20A8                tst.b      [A5 + 0x20A8]
  3856. 0000280E  6700 00DA                beq        +0xDC /* 000028EA */
  3857. 00002812  594F                     subq.w     A7, 4
  3858. 00002814  AA32                     syscall    GetGDevice
  3859. 00002816  205F                     movea.l    A0, [A7]+
  3860. 00002818  2F48 0002                move.l     [A7 + 0x2], A0
  3861. 0000281C  2F2D 1FFC                move.l     -[A7], [A5 + 0x1FFC]
  3862. 00002820  AA31                     syscall    SetGDevice
  3863. 00002822  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3864. 00002826  4868 12BC                pea.l      [A0 + 0x12BC]
  3865. 0000282A  486F 0018                pea.l      [A7 + 0x18]
  3866. 0000282E  4EAD B620                jsr        [A5 - 0x49E0]
  3867. 00002832  95CA                     sub.l      A2, A2
  3868. 00002834  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3869. 00002838  41E8 1444                lea.l      A0, [A0 + 0x1444]
  3870. 0000283C  7005                     moveq.l    D0, 0x05
  3871. 0000283E  0A00 0018                xori.b     D0, 0x18
  3872. 00002842  3200                     move.w     D1, D0
  3873. 00002844  E648                     lsr        D0.w, 3
  3874. 00002846  0330 0000                btst       [A0 + D0.w], D1
  3875. 0000284A  6604                     bne        +0x6 /* 00002850 */
  3876. 0000284C  7000                     moveq.l    D0, 0x00
  3877. 0000284E  6002                     bra        +0x4 /* 00002852 */
  3878. label00002850:
  3879. 00002850  7001                     moveq.l    D0, 0x01
  3880. label00002852:
  3881. 00002852  4A00                     tst.b      D0
  3882. 00002854  504F                     addq.w     A7, 8
  3883. 00002856  664E                     bne        +0x50 /* 000028A6 */
  3884. 00002858  4A05                     tst.b      D5
  3885. 0000285A  6734                     beq        +0x36 /* 00002890 */
  3886. 0000285C  4267                     clr.w      -[A7]
  3887. 0000285E  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  3888. 00002862  4EAD AA60                jsr        [A5 - 0x55A0]
  3889. 00002866  2448                     movea.l    A2, A0
  3890. 00002868  4EAD A9F0                jsr        [A5 - 0x5610]
  3891. 0000286C  5340                     subq.w     D0, 1
  3892. 0000286E  5C4F                     addq.w     A7, 6
  3893. 00002870  6602                     bne        +0x4 /* 00002874 */
  3894. 00002872  95CA                     sub.l      A2, A2
  3895. label00002874:
  3896. 00002874  1F04                     move.b     -[A7], D4
  3897. 00002876  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3898. 0000287A  4868 12BC                pea.l      [A0 + 0x12BC]
  3899. 0000287E  2F0A                     move.l     -[A7], A2
  3900. 00002880  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  3901. 00002884  4EAD D738                jsr        [A5 - 0x28C8]
  3902. 00002888  3600                     move.w     D3, D0
  3903. 0000288A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3904. 0000288E  6016                     bra        +0x18 /* 000028A6 */
  3905. label00002890:
  3906. 00002890  302D 205A                move.w     D0, [A5 + 0x205A /* export_1031 */]
  3907. 00002894  B06F 0014                cmp.w      D0, [A7 + 0x14]
  3908. 00002898  660A                     bne        +0xC /* 000028A4 */
  3909. 0000289A  302D 205C                move.w     D0, [A5 + 0x205C]
  3910. 0000289E  B06F 0016                cmp.w      D0, [A7 + 0x16]
  3911. 000028A2  6702                     beq        +0x4 /* 000028A6 */
  3912. label000028A4:
  3913. 000028A4  7601                     moveq.l    D3, 0x01
  3914. label000028A6:
  3915. 000028A6  0C43 0005                cmpi.w     D3, 0x5
  3916. 000028AA  6706                     beq        +0x8 /* 000028B2 */
  3917. 000028AC  0C43 000B                cmpi.w     D3, 0xB
  3918. 000028B0  6606                     bne        +0x8 /* 000028B8 */
  3919. label000028B2:
  3920. 000028B2  1F7C 0001 0007           move.b     [A7 + 0x7], 0x1
  3921. label000028B8:
  3922. 000028B8  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  3923. 000028BC  1028 12C1                move.b     D0, [A0 + 0x12C1]
  3924. 000028C0  49C0                     lea.l      A4, D0
  3925. 000028C2  2F40 0010                move.l     [A7 + 0x10], D0
  3926. 000028C6  0280 FFFF FF7F           andi.l     D0, 0xFFFFFF7F
  3927. 000028CC  2F40 0010                move.l     [A7 + 0x10], D0
  3928. 000028D0  70FB                     moveq.l    D0, 0xFFFFFFFB
  3929. 000028D2  C0AF 0010                and.l      D0, [A7 + 0x10]
  3930. 000028D6  2F40 0010                move.l     [A7 + 0x10], D0
  3931. 000028DA  70BF                     moveq.l    D0, 0xFFFFFFBF
  3932. 000028DC  C0AF 0010                and.l      D0, [A7 + 0x10]
  3933. 000028E0  2F40 0010                move.l     [A7 + 0x10], D0
  3934. 000028E4  116F 0013 12C1           move.b     [A0 + 0x12C1], [A7 + 0x13]
  3935. label000028EA:
  3936. 000028EA  4A43                     tst.w      D3
  3937. 000028EC  56C0                     sne        D0
  3938. 000028EE  4400                     neg.b      D0
  3939. 000028F0  49C0                     lea.l      A4, D0
  3940. 000028F2  1C00                     move.b     D6, D0
  3941. 000028F4  4A04                     tst.b      D4
  3942. 000028F6  6722                     beq        +0x24 /* 0000291A */
  3943. 000028F8  486F 0008                pea.l      [A7 + 0x8]
  3944. 000028FC  2F0C                     move.l     -[A7], A4
  3945. 000028FE  3F03                     move.w     -[A7], D3
  3946. 00002900  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  3947. 00002904  2F0A                     move.l     -[A7], A2
  3948. 00002906  486D 2005                pea.l      [A5 + 0x2005]
  3949. 0000290A  1F06                     move.b     -[A7], D6
  3950. 0000290C  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  3951. 00002910  4EBA FB14                jsr        [PC - 0x4EC /* 00002426 */]
  3952. 00002914  1800                     move.b     D4, D0
  3953. 00002916  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  3954. label0000291A:
  3955. 0000291A  4A06                     tst.b      D6
  3956. 0000291C  6700 00C4                beq        +0xC6 /* 000029E2 */
  3957. 00002920  4A04                     tst.b      D4
  3958. 00002922  6708                     beq        +0xA /* 0000292C */
  3959. 00002924  4A2F 0007                tst.b      [A7 + 0x7]
  3960. 00002928  6700 00B8                beq        +0xBA /* 000029E2 */
  3961. label0000292C:
  3962. 0000292C  3EAD 2062                move.w     [A7], [A5 + 0x2062 /* export_1032 */]
  3963. 00002930  4A05                     tst.b      D5
  3964. 00002932  6616                     bne        +0x18 /* 0000294A */
  3965. 00002934  0C43 0001                cmpi.w     D3, 0x1
  3966. 00002938  6600 00A8                bne        +0xAA /* 000029E2 */
  3967. 0000293C  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  3968. 00002940  4EAD AF10                jsr        [A5 - 0x50F0]
  3969. 00002944  584F                     addq.w     A7, 4
  3970. 00002946  6000 009A                bra        +0x9C /* 000029E2 */
  3971. label0000294A:
  3972. 0000294A  0C43 0002                cmpi.w     D3, 0x2
  3973. 0000294E  6604                     bne        +0x6 /* 00002954 */
  3974. 00002950  4EBA E97A                jsr        [PC - 0x1686 /* 000012CC */]
  3975. label00002954:
  3976. 00002954  3003                     move.w     D0, D3
  3977. 00002956  48C0                     ext.l      D0
  3978. 00002958  0C80 0000 000C           cmpi.l     D0, 0xC
  3979. 0000295E  6200 0082                bhi        +0x84 /* 000029E2 */
  3980. 00002962  303B 0206                move.w     D0, [PC + D0.w * 2 + 0x6]
  3981. 00002966  4EFB 0002                jmp        [PC + D0.w + 0x2]
  3982. 0000296A  0078 001A 001A           ori.w      [0x0000001A], 0x1A
  3983. 00002970  0078 0054 0078           ori.w      [0x00000078 /* __m68k_vec_switch_scc__ */], 0x54 /* 'T' */
  3984. 00002976  0078 0078 0078           ori.w      [0x00000078 /* __m68k_vec_switch_scc__ */], 0x78 /* 'x' */
  3985. 0000297C  0054 0078                ori.w      [A4], 0x78 /* 'x' */
  3986. 00002980  001A 001A                ori.b      [A2]+, 0x1A
  3987. 00002984  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  3988. 00002988  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  3989. 0000298C  4EBA F882                jsr        [PC - 0x77E /* 00002210 */]
  3990. 00002990  0C43 000B                cmpi.w     D3, 0xB
  3991. 00002994  504F                     addq.w     A7, 8
  3992. 00002996  6610                     bne        +0x12 /* 000029A8 */
  3993. 00002998  2F0A                     move.l     -[A7], A2
  3994. 0000299A  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  3995. 0000299E  4EAD D730                jsr        [A5 - 0x28D0]
  3996. 000029A2  7605                     moveq.l    D3, 0x05
  3997. 000029A4  504F                     addq.w     A7, 8
  3998. 000029A6  603A                     bra        +0x3C /* 000029E2 */
  3999. label000029A8:
  4000. 000029A8  0C43 000C                cmpi.w     D3, 0xC
  4001. 000029AC  6634                     bne        +0x36 /* 000029E2 */
  4002. 000029AE  2F0A                     move.l     -[A7], A2
  4003. 000029B0  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  4004. 000029B4  4EAD D730                jsr        [A5 - 0x28D0]
  4005. 000029B8  7607                     moveq.l    D3, 0x07
  4006. 000029BA  504F                     addq.w     A7, 8
  4007. 000029BC  6024                     bra        +0x26 /* 000029E2 */
  4008. 000029BE  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  4009. 000029C2  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  4010. 000029C6  4EBA F81E                jsr        [PC - 0x7E2 /* 000021E6 */]
  4011. 000029CA  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  4012. 000029CE  4EAD D750                jsr        [A5 - 0x28B0]
  4013. 000029D2  52AD 2322                addq.l     [A5 + 0x2322 /* export_1120 */], 1
  4014. 000029D6  2F2D 2322                move.l     -[A7], [A5 + 0x2322 /* export_1120 */]
  4015. 000029DA  4EBA F782                jsr        [PC - 0x87E /* 0000215E */]
  4016. 000029DE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4017. label000029E2:
  4018. 000029E2  4A04                     tst.b      D4
  4019. 000029E4  667A                     bne        +0x7C /* 00002A60 */
  4020. 000029E6  4A2D 2005                tst.b      [A5 + 0x2005]
  4021. 000029EA  6754                     beq        +0x56 /* 00002A40 */
  4022. 000029EC  4A05                     tst.b      D5
  4023. 000029EE  6750                     beq        +0x52 /* 00002A40 */
  4024. 000029F0  200A                     move.l     D0, A2
  4025. 000029F2  4A80                     tst.l      D0
  4026. 000029F4  674A                     beq        +0x4C /* 00002A40 */
  4027. 000029F6  594F                     subq.w     A7, 4
  4028. 000029F8  AA32                     syscall    GetGDevice
  4029. 000029FA  205F                     movea.l    A0, [A7]+
  4030. 000029FC  2C48                     movea.l    A6, A0
  4031. 000029FE  4A6D 1BEE                tst.w      [A5 + 0x1BEE]
  4032. 00002A02  6D04                     blt        +0x6 /* 00002A08 */
  4033. 00002A04  4EAD AEA0                jsr        [A5 - 0x5160]
  4034. label00002A08:
  4035. 00002A08  4267                     clr.w      -[A7]
  4036. 00002A0A  42A7                     clr.l      -[A7]
  4037. 00002A0C  2F0A                     move.l     -[A7], A2
  4038. 00002A0E  4EAD D708                jsr        [A5 - 0x28F8]
  4039. 00002A12  4A6D 1BEE                tst.w      [A5 + 0x1BEE]
  4040. 00002A16  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4041. 00002A1A  6D04                     blt        +0x6 /* 00002A20 */
  4042. 00002A1C  4EAD AEA0                jsr        [A5 - 0x5160]
  4043. label00002A20:
  4044. 00002A20  2056                     movea.l    A0, [A6]
  4045. 00002A22  2068 0016                movea.l    A0, [A0 + 0x16]
  4046. 00002A26  2050                     movea.l    A0, [A0]
  4047. 00002A28  2068 002A                movea.l    A0, [A0 + 0x2A]
  4048. 00002A2C  2050                     movea.l    A0, [A0]
  4049. 00002A2E  2256                     movea.l    A1, [A6]
  4050. 00002A30  2269 0006                movea.l    A1, [A1 + 0x6]
  4051. 00002A34  2251                     movea.l    A1, [A1]
  4052. 00002A36  2290                     move.l     [A1], [A0]
  4053. 00002A38  2B4A 1BE4                move.l     [A5 + 0x1BE4], A2
  4054. 00002A3C  4EAD AAD0                jsr        [A5 - 0x5530]
  4055. label00002A40:
  4056. 00002A40  4267                     clr.w      -[A7]
  4057. 00002A42  1F3C 0001                move.b     -[A7], 0x1
  4058. 00002A46  4EBA F008                jsr        [PC - 0xFF8 /* 00001A50 */]
  4059. 00002A4A  4267                     clr.w      -[A7]
  4060. 00002A4C  3F2C 16F4                move.w     -[A7], [A4 + 0x16F4]
  4061. 00002A50  4EAD A428                jsr        [A5 - 0x5BD8]
  4062. 00002A54  2F2D 2322                move.l     -[A7], [A5 + 0x2322 /* export_1120 */]
  4063. 00002A58  4EBA F704                jsr        [PC - 0x8FC /* 0000215E */]
  4064. 00002A5C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4065. label00002A60:
  4066. 00002A60  422D 2005                clr.b      [A5 + 0x2005]
  4067. 00002A64  42AD 1BE4                clr.l      [A5 + 0x1BE4]
  4068. 00002A68  4A05                     tst.b      D5
  4069. 00002A6A  673C                     beq        +0x3E /* 00002AA8 */
  4070. 00002A6C  3003                     move.w     D0, D3
  4071. 00002A6E  48C0                     ext.l      D0
  4072. 00002A70  5B80                     subq.l     D0, 5
  4073. 00002A72  6706                     beq        +0x8 /* 00002A7A */
  4074. 00002A74  5580                     subq.l     D0, 2
  4075. 00002A76  671A                     beq        +0x1C /* 00002A92 */
  4076. 00002A78  602E                     bra        +0x30 /* 00002AA8 */
  4077. label00002A7A:
  4078. 00002A7A  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  4079. 00002A7E  1028 12C0                move.b     D0, [A0 + 0x12C0]
  4080. 00002A82  4880                     ext.w      D0
  4081. 00002A84  3F00                     move.w     -[A7], D0
  4082. 00002A86  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  4083. 00002A8A  4EBA F6E4                jsr        [PC - 0x91C /* 00002170 */]
  4084. 00002A8E  5C4F                     addq.w     A7, 6
  4085. 00002A90  6016                     bra        +0x18 /* 00002AA8 */
  4086. label00002A92:
  4087. 00002A92  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  4088. 00002A96  4EAD D758                jsr        [A5 - 0x28A8]
  4089. 00002A9A  52AD 2322                addq.l     [A5 + 0x2322 /* export_1120 */], 1
  4090. 00002A9E  2F2D 2322                move.l     -[A7], [A5 + 0x2322 /* export_1120 */]
  4091. 00002AA2  4EBA F6BA                jsr        [PC - 0x946 /* 0000215E */]
  4092. 00002AA6  504F                     addq.w     A7, 8
  4093. label00002AA8:
  4094. 00002AA8  4A07                     tst.b      D7
  4095. 00002AAA  674E                     beq        +0x50 /* 00002AFA */
  4096. 00002AAC  4EAD AEE8                jsr        [A5 - 0x5118]
  4097. 00002AB0  4A00                     tst.b      D0
  4098. 00002AB2  6720                     beq        +0x22 /* 00002AD4 */
  4099. 00002AB4  0C2B FF88 0015           cmpi.b     [A3 + 0x15], 0x88
  4100. 00002ABA  6D18                     blt        +0x1A /* 00002AD4 */
  4101. 00002ABC  0C2B FFB8 0015           cmpi.b     [A3 + 0x15], 0xB8
  4102. 00002AC2  6E10                     bgt        +0x12 /* 00002AD4 */
  4103. 00002AC4  102B 0015                move.b     D0, [A3 + 0x15]
  4104. 00002AC8  4880                     ext.w      D0
  4105. 00002ACA  3F00                     move.w     -[A7], D0
  4106. 00002ACC  4EAD AD48                jsr        [A5 - 0x52B8]
  4107. 00002AD0  544F                     addq.w     A7, 2
  4108. 00002AD2  6026                     bra        +0x28 /* 00002AFA */
  4109. label00002AD4:
  4110. 00002AD4  0C43 0002                cmpi.w     D3, 0x2
  4111. 00002AD8  6608                     bne        +0xA /* 00002AE2 */
  4112. 00002ADA  0C2B FFB8 0015           cmpi.b     [A3 + 0x15], 0xB8
  4113. 00002AE0  6E18                     bgt        +0x1A /* 00002AFA */
  4114. label00002AE2:
  4115. 00002AE2  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4116. 00002AE6  102B 0015                move.b     D0, [A3 + 0x15]
  4117. 00002AEA  4880                     ext.w      D0
  4118. 00002AEC  3F00                     move.w     -[A7], D0
  4119. 00002AEE  2F2D 1C1A                move.l     -[A7], [A5 + 0x1C1A /* export_895 */]
  4120. 00002AF2  4EAD AE28                jsr        [A5 - 0x51D8]
  4121. 00002AF6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4122. label00002AFA:
  4123. 00002AFA  0C43 0002                cmpi.w     D3, 0x2
  4124. 00002AFE  663A                     bne        +0x3C /* 00002B3A */
  4125. 00002B00  4A07                     tst.b      D7
  4126. 00002B02  661A                     bne        +0x1C /* 00002B1E */
  4127. 00002B04  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  4128. 00002B08  1628 12C9                move.b     D3, [A0 + 0x12C9]
  4129. 00002B0C  49C3                     lea.l      A4, D3
  4130. 00002B0E  4A83                     tst.l      D3
  4131. 00002B10  6E02                     bgt        +0x4 /* 00002B14 */
  4132. 00002B12  761E                     moveq.l    D3, 0x1E
  4133. label00002B14:
  4134. 00002B14  4267                     clr.w      -[A7]
  4135. 00002B16  2F03                     move.l     -[A7], D3
  4136. 00002B18  4EBA F560                jsr        [PC - 0xAA0 /* 0000207A */]
  4137. 00002B1C  5C4F                     addq.w     A7, 6
  4138. label00002B1E:
  4139. 00002B1E  3F17                     move.w     -[A7], [A7]
  4140. 00002B20  2F0A                     move.l     -[A7], A2
  4141. 00002B22  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  4142. 00002B26  4EAD D748                jsr        [A5 - 0x28B8]
  4143. 00002B2A  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  4144. 00002B2E  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  4145. 00002B32  4EBA F6DC                jsr        [PC - 0x924 /* 00002210 */]
  4146. 00002B36  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4147. label00002B3A:
  4148. 00002B3A  4A2D 20A8                tst.b      [A5 + 0x20A8]
  4149. 00002B3E  670A                     beq        +0xC /* 00002B4A */
  4150. 00002B40  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  4151. 00002B44  AA31                     syscall    SetGDevice
  4152. 00002B46  422D 2065                clr.b      [A5 + 0x2065]
  4153. label00002B4A:
  4154. 00002B4A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4155. 00002B4E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4156. 00002B52  4E75                     rts
  4157. 00002B54  594F                     subq.w     A7, 4
  4158. 00002B56  486D 20B6                pea.l      [A5 + 0x20B6]
  4159. 00002B5A  4EAD BB88                jsr        [A5 - 0x4478]
  4160. 00002B5E  486F 0004                pea.l      [A7 + 0x4]
  4161. 00002B62  A874                     syscall    GetPort
  4162. 00002B64  2F2D 20BE                move.l     -[A7], [A5 + 0x20BE]
  4163. 00002B68  A873                     syscall    SetPort
  4164. 00002B6A  206D 20BE                movea.l    A0, [A5 + 0x20BE]
  4165. 00002B6E  2068 001C                movea.l    A0, [A0 + 0x1C]
  4166. 00002B72  2050                     movea.l    A0, [A0]
  4167. 00002B74  2B68 0002 2316           move.l     [A5 + 0x2316], [A0 + 0x2]
  4168. 00002B7A  2B68 0006 231A           move.l     [A5 + 0x231A /* export_1119 */], [A0 + 0x6]
  4169. 00002B80  4EBA FB86                jsr        [PC - 0x47A /* 00002708 */]
  4170. 00002B84  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  4171. 00002B88  2248                     movea.l    A1, A0
  4172. 00002B8A  1368 16FE 1701           move.b     [A1 + 0x1701], [A0 + 0x16FE]
  4173. 00002B90  4A2D 08C4                tst.b      [A5 + 0x8C4]
  4174. 00002B94  584F                     addq.w     A7, 4
  4175. 00002B96  670E                     beq        +0x10 /* 00002BA6 */
  4176. 00002B98  422D 08C4                clr.b      [A5 + 0x8C4]
  4177. 00002B9C  3F3C 0004                move.w     -[A7], 0x4
  4178. 00002BA0  4EAD B328                jsr        [A5 - 0x4CD8]
  4179. 00002BA4  544F                     addq.w     A7, 2
  4180. label00002BA6:
  4181. 00002BA6  486D 2316                pea.l      [A5 + 0x2316]
  4182. 00002BAA  A87B                     syscall    ClipRect
  4183. 00002BAC  2F17                     move.l     -[A7], [A7]
  4184. 00002BAE  A873                     syscall    SetPort
  4185. 00002BB0  4A2D 1BB8                tst.b      [A5 + 0x1BB8]
  4186. 00002BB4  6708                     beq        +0xA /* 00002BBE */
  4187. 00002BB6  422D 1BB8                clr.b      [A5 + 0x1BB8]
  4188. 00002BBA  4EAD BDB8                jsr        [A5 - 0x4248]
  4189. label00002BBE:
  4190. 00002BBE  584F                     addq.w     A7, 4
  4191. 00002BC0  4E75                     rts
  4192. 00002BC2  2B6F 0004 231E           move.l     [A5 + 0x231E], [A7 + 0x4]
  4193. 00002BC8  4E75                     rts
  4194. 00002BCA  4E75                     rts
  4195. 00002BCC  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  4196. 00002BD0  4AAD 20BE                tst.l      [A5 + 0x20BE]
  4197. 00002BD4  6700 00B6                beq        +0xB8 /* 00002C8C */
  4198. 00002BD8  486D 20DE                pea.l      [A5 + 0x20DE]
  4199. 00002BDC  4EBA D692                jsr        [PC - 0x296E /* 00000270 */]
  4200. 00002BE0  4A00                     tst.b      D0
  4201. 00002BE2  584F                     addq.w     A7, 4
  4202. 00002BE4  6628                     bne        +0x2A /* 00002C0E */
  4203. 00002BE6  4A2D 20A8                tst.b      [A5 + 0x20A8]
  4204. 00002BEA  6708                     beq        +0xA /* 00002BF4 */
  4205. 00002BEC  4EAD AA10                jsr        [A5 - 0x55F0]
  4206. 00002BF0  4A00                     tst.b      D0
  4207. 00002BF2  661A                     bne        +0x1C /* 00002C0E */
  4208. label00002BF4:
  4209. 00002BF4  206D 20BE                movea.l    A0, [A5 + 0x20BE]
  4210. 00002BF8  2F28 0002                move.l     -[A7], [A0 + 0x2]
  4211. 00002BFC  486D 20DE                pea.l      [A5 + 0x20DE]
  4212. 00002C00  4EBA D7E2                jsr        [PC - 0x281E /* 000003E4 */]
  4213. 00002C04  426D 1C10                clr.w      [A5 + 0x1C10]
  4214. 00002C08  504F                     addq.w     A7, 8
  4215. 00002C0A  6000 0080                bra        +0x82 /* 00002C8C */
  4216. label00002C0E:
  4217. 00002C0E  4A2D 20DF                tst.b      [A5 + 0x20DF]
  4218. 00002C12  6678                     bne        +0x7A /* 00002C8C */
  4219. 00002C14  486F 0010                pea.l      [A7 + 0x10]
  4220. 00002C18  A874                     syscall    GetPort
  4221. 00002C1A  486F 0008                pea.l      [A7 + 0x8]
  4222. 00002C1E  4EAD BB00                jsr        [A5 - 0x4500]
  4223. 00002C22  486D 216E                pea.l      [A5 + 0x216E]
  4224. 00002C26  A8AE                     syscall    EmptyRect
  4225. 00002C28  101F                     move.b     D0, [A7]+
  4226. 00002C2A  544F                     addq.w     A7, 2
  4227. 00002C2C  6620                     bne        +0x22 /* 00002C4E */
  4228. 00002C2E  2EAD 216E                move.l     [A7], [A5 + 0x216E]
  4229. 00002C32  2F6D 2172 0004           move.l     [A7 + 0x4], [A5 + 0x2172 /* export_1066 */]
  4230. 00002C38  3F3C 0007                move.w     -[A7], 0x7
  4231. 00002C3C  486F 0002                pea.l      [A7 + 0x2]
  4232. 00002C40  486D 20A8                pea.l      [A5 + 0x20A8]
  4233. 00002C44  4EAD BD18                jsr        [A5 - 0x42E8]
  4234. 00002C48  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4235. 00002C4C  6014                     bra        +0x16 /* 00002C62 */
  4236. label00002C4E:
  4237. 00002C4E  3F3C 0003                move.w     -[A7], 0x3
  4238. 00002C52  486F 000A                pea.l      [A7 + 0xA]
  4239. 00002C56  486D 20A8                pea.l      [A5 + 0x20A8]
  4240. 00002C5A  4EAD BD18                jsr        [A5 - 0x42E8]
  4241. 00002C5E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4242. label00002C62:
  4243. 00002C62  4A2D 20A8                tst.b      [A5 + 0x20A8]
  4244. 00002C66  671E                     beq        +0x20 /* 00002C86 */
  4245. 00002C68  4A2D 1BDA                tst.b      [A5 + 0x1BDA /* export_887 */]
  4246. 00002C6C  6618                     bne        +0x1A /* 00002C86 */
  4247. 00002C6E  2F2D 20BE                move.l     -[A7], [A5 + 0x20BE]
  4248. 00002C72  A873                     syscall    SetPort
  4249. 00002C74  4A6D 1C10                tst.w      [A5 + 0x1C10]
  4250. 00002C78  56C0                     sne        D0
  4251. 00002C7A  4400                     neg.b      D0
  4252. 00002C7C  49C0                     lea.l      A4, D0
  4253. 00002C7E  1F00                     move.b     -[A7], D0
  4254. 00002C80  4EAD AA08                jsr        [A5 - 0x55F8]
  4255. 00002C84  544F                     addq.w     A7, 2
  4256. label00002C86:
  4257. 00002C86  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  4258. 00002C8A  A873                     syscall    SetPort
  4259. label00002C8C:
  4260. 00002C8C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4261. 00002C90  4E75                     rts
  4262. fn00002C92:
  4263. 00002C92  48E7 1030                movem.l    -[A7], D3,A2,A3
  4264. 00002C96  514F                     subq.w     A7, 8
  4265. 00002C98  246F 0018                movea.l    A2, [A7 + 0x18]
  4266. 00002C9C  206D 1FFC                movea.l    A0, [A5 + 0x1FFC]
  4267. 00002CA0  2050                     movea.l    A0, [A0]
  4268. 00002CA2  2068 0016                movea.l    A0, [A0 + 0x16]
  4269. 00002CA6  2050                     movea.l    A0, [A0]
  4270. 00002CA8  0C68 0008 0020           cmpi.w     [A0 + 0x20], 0x8
  4271. 00002CAE  6D36                     blt        +0x38 /* 00002CE6 */
  4272. 00002CB0  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  4273. 00002CB4  3F68 03A4 0006           move.w     [A7 + 0x6], [A0 + 0x3A4]
  4274. 00002CBA  4857                     pea.l      [A7]
  4275. 00002CBC  486F 000A                pea.l      [A7 + 0xA]
  4276. 00002CC0  4EAD AA40                jsr        [A5 - 0x55C0]
  4277. 00002CC4  486F 0008                pea.l      [A7 + 0x8]
  4278. 00002CC8  1F2F 0013                move.b     -[A7], [A7 + 0x13]
  4279. 00002CCC  2F0A                     move.l     -[A7], A2
  4280. 00002CCE  486D 20DE                pea.l      [A5 + 0x20DE]
  4281. 00002CD2  4EBA D7A0                jsr        [PC - 0x2860 /* 00000474 */]
  4282. 00002CD6  584F                     addq.w     A7, 4
  4283. 00002CD8  2F08                     move.l     -[A7], A0
  4284. 00002CDA  4EAD A4C0                jsr        [A5 - 0x5B40]
  4285. 00002CDE  4FEF 0016                lea.l      A7, [A7 + 0x16]
  4286. 00002CE2  6000 0082                bra        +0x84 /* 00002D66 */
  4287. label00002CE6:
  4288. 00002CE6  4AAD 2090                tst.l      [A5 + 0x2090]
  4289. 00002CEA  6664                     bne        +0x66 /* 00002D50 */
  4290. 00002CEC  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  4291. 00002CF0  0C68 00FF 03A4           cmpi.w     [A0 + 0x3A4], 0xFF
  4292. 00002CF6  660A                     bne        +0xC /* 00002D02 */
  4293. 00002CF8  47ED 2366                lea.l      A3, [A5 + 0x2366]
  4294. 00002CFC  47EB 00BA                lea.l      A3, [A3 + 0xBA]
  4295. 00002D00  6008                     bra        +0xA /* 00002D0A */
  4296. label00002D02:
  4297. 00002D02  47ED 2366                lea.l      A3, [A5 + 0x2366]
  4298. 00002D06  47EB 00C2                lea.l      A3, [A3 + 0xC2]
  4299. label00002D0A:
  4300. 00002D0A  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  4301. 00002D0E  4A68 03A4                tst.w      [A0 + 0x3A4]
  4302. 00002D12  670E                     beq        +0x10 /* 00002D22 */
  4303. 00002D14  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  4304. 00002D18  3028 03A4                move.w     D0, [A0 + 0x3A4]
  4305. 00002D1C  B06D 14A6                cmp.w      D0, [A5 + 0x14A6]
  4306. 00002D20  6D04                     blt        +0x6 /* 00002D26 */
  4307. label00002D22:
  4308. 00002D22  7000                     moveq.l    D0, 0x00
  4309. 00002D24  6002                     bra        +0x4 /* 00002D28 */
  4310. label00002D26:
  4311. 00002D26  7001                     moveq.l    D0, 0x01
  4312. label00002D28:
  4313. 00002D28  1600                     move.b     D3, D0
  4314. 00002D2A  4A03                     tst.b      D3
  4315. 00002D2C  670E                     beq        +0x10 /* 00002D3C */
  4316. 00002D2E  206D 1C30                movea.l    A0, [A5 + 0x1C30]
  4317. 00002D32  3F28 03A4                move.w     -[A7], [A0 + 0x3A4]
  4318. 00002D36  4EAD AA50                jsr        [A5 - 0x55B0]
  4319. 00002D3A  544F                     addq.w     A7, 2
  4320. label00002D3C:
  4321. 00002D3C  2F0A                     move.l     -[A7], A2
  4322. 00002D3E  2F0B                     move.l     -[A7], A3
  4323. 00002D40  A8A5                     syscall    FillRect
  4324. 00002D42  4A03                     tst.b      D3
  4325. 00002D44  6720                     beq        +0x22 /* 00002D66 */
  4326. 00002D46  4267                     clr.w      -[A7]
  4327. 00002D48  4EAD AA50                jsr        [A5 - 0x55B0]
  4328. 00002D4C  544F                     addq.w     A7, 2
  4329. 00002D4E  6016                     bra        +0x18 /* 00002D66 */
  4330. label00002D50:
  4331. 00002D50  4AAD 208C                tst.l      [A5 + 0x208C]
  4332. 00002D54  6708                     beq        +0xA /* 00002D5E */
  4333. 00002D56  2F0A                     move.l     -[A7], A2
  4334. 00002D58  4EAD AFB0                jsr        [A5 - 0x5050]
  4335. 00002D5C  6008                     bra        +0xA /* 00002D66 */
  4336. label00002D5E:
  4337. 00002D5E  2F0A                     move.l     -[A7], A2
  4338. 00002D60  206D 2090                movea.l    A0, [A5 + 0x2090]
  4339. 00002D64  4E90                     jsr        [A0]
  4340. label00002D66:
  4341. 00002D66  504F                     addq.w     A7, 8
  4342. 00002D68  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4343. 00002D6C  4E75                     rts
  4344. fn00002D6E:
  4345. 00002D6E  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  4346. 00002D72  286F 0014                movea.l    A4, [A7 + 0x14]
  4347. 00002D76  7600                     moveq.l    D3, 0x00
  4348. 00002D78  2054                     movea.l    A0, [A4]
  4349. 00002D7A  3028 0006                move.w     D0, [A0 + 0x6]
  4350. 00002D7E  48C0                     ext.l      D0
  4351. 00002D80  5380                     subq.l     D0, 1
  4352. 00002D82  6714                     beq        +0x16 /* 00002D98 */
  4353. 00002D84  5580                     subq.l     D0, 2
  4354. 00002D86  6710                     beq        +0x12 /* 00002D98 */
  4355. 00002D88  5180                     subq.l     D0, 8
  4356. 00002D8A  5980                     subq.l     D0, 4
  4357. 00002D8C  670A                     beq        +0xC /* 00002D98 */
  4358. 00002D8E  0480 0000 00F0           subi.l     D0, 0xF0
  4359. 00002D94  6702                     beq        +0x4 /* 00002D98 */
  4360. 00002D96  6046                     bra        +0x48 /* 00002DDE */
  4361. label00002D98:
  4362. 00002D98  2454                     movea.l    A2, [A4]
  4363. 00002D9A  508A                     addq.l     A2, 8
  4364. 00002D9C  2654                     movea.l    A3, [A4]
  4365. 00002D9E  326B 0006                movea.w    A1, [A3 + 0x6]
  4366. 00002DA2  2009                     move.l     D0, A1
  4367. 00002DA4  E788                     lsl        D0, 3
  4368. 00002DA6  2654                     movea.l    A3, [A4]
  4369. 00002DA8  D7C0                     add.l      A3, D0
  4370. 00002DAA  508B                     addq.l     A3, 8
  4371. 00002DAC  0C6A FFFF 0002           cmpi.w     [A2 + 0x2], 0xFFFF
  4372. 00002DB2  6622                     bne        +0x24 /* 00002DD6 */
  4373. 00002DB4  0C6A FFFF 0004           cmpi.w     [A2 + 0x4], 0xFFFF
  4374. 00002DBA  661A                     bne        +0x1C /* 00002DD6 */
  4375. 00002DBC  0C6A FFFF 0006           cmpi.w     [A2 + 0x6], 0xFFFF
  4376. 00002DC2  6612                     bne        +0x14 /* 00002DD6 */
  4377. 00002DC4  4A6B 0002                tst.w      [A3 + 0x2]
  4378. 00002DC8  660C                     bne        +0xE /* 00002DD6 */
  4379. 00002DCA  4A6B 0004                tst.w      [A3 + 0x4]
  4380. 00002DCE  6606                     bne        +0x8 /* 00002DD6 */
  4381. 00002DD0  4A6B 0006                tst.w      [A3 + 0x6]
  4382. 00002DD4  6704                     beq        +0x6 /* 00002DDA */
  4383. label00002DD6:
  4384. 00002DD6  7000                     moveq.l    D0, 0x00
  4385. 00002DD8  6002                     bra        +0x4 /* 00002DDC */
  4386. label00002DDA:
  4387. 00002DDA  7001                     moveq.l    D0, 0x01
  4388. label00002DDC:
  4389. 00002DDC  1600                     move.b     D3, D0
  4390. label00002DDE:
  4391. 00002DDE  1003                     move.b     D0, D3
  4392. 00002DE0  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4393. 00002DE4  4E75                     rts
  4394. fn00002DE6:
  4395. 00002DE6  2B6F 0004 14BE           move.l     [A5 + 0x14BE], [A7 + 0x4]
  4396. 00002DEC  486D 14BE                pea.l      [A5 + 0x14BE]
  4397. 00002DF0  4EAD C290                jsr        [A5 - 0x3D70]
  4398. 00002DF4  4A40                     tst.w      D0
  4399. 00002DF6  584F                     addq.w     A7, 4
  4400. 00002DF8  6618                     bne        +0x1A /* 00002E12 */
  4401. 00002DFA  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  4402. 00002DFE  486D 14BE                pea.l      [A5 + 0x14BE]
  4403. 00002E02  4EAD D870                jsr        [A5 - 0x2790]
  4404. 00002E06  4A40                     tst.w      D0
  4405. 00002E08  5C4F                     addq.w     A7, 6
  4406. 00002E0A  670A                     beq        +0xC /* 00002E16 */
  4407. 00002E0C  2F2D 14BE                move.l     -[A7], [A5 + 0x14BE]
  4408. 00002E10  AA24                     syscall    DisposeCTable/DisposCTable
  4409. label00002E12:
  4410. 00002E12  42AD 14BE                clr.l      [A5 + 0x14BE]
  4411. label00002E16:
  4412. 00002E16  4E75                     rts
  4413. 00002E18  2F0A                     move.l     -[A7], A2
  4414. 00002E1A  246F 0016                movea.l    A2, [A7 + 0x16]
  4415. 00002E1E  4AAD 14BE                tst.l      [A5 + 0x14BE]
  4416. 00002E22  6638                     bne        +0x3A /* 00002E5C */
  4417. 00002E24  4A6D 14C2                tst.w      [A5 + 0x14C2 /* export_660 */]
  4418. 00002E28  6632                     bne        +0x34 /* 00002E5C */
  4419. 00002E2A  4A6A 0004                tst.w      [A2 + 0x4]
  4420. 00002E2E  6C26                     bge        +0x28 /* 00002E56 */
  4421. 00002E30  3B6A 0020 14C2           move.w     [A5 + 0x14C2 /* export_660 */], [A2 + 0x20]
  4422. 00002E36  0C6A 0001 0020           cmpi.w     [A2 + 0x20], 0x1
  4423. 00002E3C  6F1E                     ble        +0x20 /* 00002E5C */
  4424. 00002E3E  0C6A 0008 0020           cmpi.w     [A2 + 0x20], 0x8
  4425. 00002E44  6E16                     bgt        +0x18 /* 00002E5C */
  4426. 00002E46  3F2D 14C2                move.w     -[A7], [A5 + 0x14C2 /* export_660 */]
  4427. 00002E4A  2F2A 002A                move.l     -[A7], [A2 + 0x2A]
  4428. 00002E4E  4EBA FF96                jsr        [PC - 0x6A /* 00002DE6 */]
  4429. 00002E52  5C4F                     addq.w     A7, 6
  4430. 00002E54  6006                     bra        +0x8 /* 00002E5C */
  4431. label00002E56:
  4432. 00002E56  3B7C 0001 14C2           move.w     [A5 + 0x14C2 /* export_660 */], 0x1
  4433. label00002E5C:
  4434. 00002E5C  245F                     movea.l    A2, [A7]+
  4435. 00002E5E  4E74 0012                rtd        0x0012
  4436. fn00002E62:
  4437. 00002E62  48E7 1030                movem.l    -[A7], D3,A2,A3
  4438. 00002E66  4FEF FF30                lea.l      A7, [A7 - 0xD0]
  4439. 00002E6A  266F 00E0                movea.l    A3, [A7 + 0xE0]
  4440. 00002E6E  2053                     movea.l    A0, [A3]
  4441. 00002E70  2EA8 0002                move.l     [A7], [A0 + 0x2]
  4442. 00002E74  2F68 0006 0004           move.l     [A7 + 0x4], [A0 + 0x6]
  4443. 00002E7A  486F 0010                pea.l      [A7 + 0x10]
  4444. 00002E7E  A874                     syscall    GetPort
  4445. 00002E80  486F 0064                pea.l      [A7 + 0x64]
  4446. 00002E84  AA00                     syscall    OpenCPort
  4447. 00002E86  486F 0008                pea.l      [A7 + 0x8]
  4448. 00002E8A  4EAD BB88                jsr        [A5 - 0x4478]
  4449. 00002E8E  486F 000C                pea.l      [A7 + 0xC]
  4450. 00002E92  A87B                     syscall    ClipRect
  4451. 00002E94  246F 00D0                movea.l    A2, [A7 + 0xD0]
  4452. 00002E98  486F 0018                pea.l      [A7 + 0x18]
  4453. 00002E9C  AA4E                     syscall    SetStdCProcs
  4454. 00002E9E  41ED B4D8                lea.l      A0, [A5 - 0x4B28]
  4455. 00002EA2  2F48 0038                move.l     [A7 + 0x38], A0
  4456. 00002EA6  4A2F 00F0                tst.b      [A7 + 0xF0]
  4457. 00002EAA  584F                     addq.w     A7, 4
  4458. 00002EAC  6708                     beq        +0xA /* 00002EB6 */
  4459. 00002EAE  41ED B500                lea.l      A0, [A5 - 0x4B00]
  4460. 00002EB2  2F48 0040                move.l     [A7 + 0x40], A0
  4461. label00002EB6:
  4462. 00002EB6  41EF 0014                lea.l      A0, [A7 + 0x14]
  4463. 00002EBA  2F48 00CC                move.l     [A7 + 0xCC], A0
  4464. 00002EBE  42AD 14BE                clr.l      [A5 + 0x14BE]
  4465. 00002EC2  426D 14C2                clr.w      [A5 + 0x14C2 /* export_660 */]
  4466. 00002EC6  4227                     clr.b      -[A7]
  4467. 00002EC8  4EAD D7D0                jsr        [A5 - 0x2830]
  4468. 00002ECC  1600                     move.b     D3, D0
  4469. 00002ECE  2F0B                     move.l     -[A7], A3
  4470. 00002ED0  486F 0006                pea.l      [A7 + 0x6]
  4471. 00002ED4  A8F6                     syscall    DrawPicture
  4472. 00002ED6  1F03                     move.b     -[A7], D3
  4473. 00002ED8  4EAD D7D0                jsr        [A5 - 0x2830]
  4474. 00002EDC  2F4A 00D0                move.l     [A7 + 0xD0], A2
  4475. 00002EE0  486F 0068                pea.l      [A7 + 0x68]
  4476. 00002EE4  A87D                     syscall    ClosePort
  4477. 00002EE6  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  4478. 00002EEA  A873                     syscall    SetPort
  4479. 00002EEC  4AAD 14BE                tst.l      [A5 + 0x14BE]
  4480. 00002EF0  584F                     addq.w     A7, 4
  4481. 00002EF2  663E                     bne        +0x40 /* 00002F32 */
  4482. 00002EF4  4A6D 14C2                tst.w      [A5 + 0x14C2 /* export_660 */]
  4483. 00002EF8  6638                     bne        +0x3A /* 00002F32 */
  4484. 00002EFA  206D 1FFC                movea.l    A0, [A5 + 0x1FFC]
  4485. 00002EFE  2050                     movea.l    A0, [A0]
  4486. 00002F00  2068 0016                movea.l    A0, [A0 + 0x16]
  4487. 00002F04  2050                     movea.l    A0, [A0]
  4488. 00002F06  3B68 0020 14C2           move.w     [A5 + 0x14C2 /* export_660 */], [A0 + 0x20]
  4489. 00002F0C  0C6D 0001 14C2           cmpi.w     [A5 + 0x14C2 /* export_660 */], 0x1
  4490. 00002F12  6F1E                     ble        +0x20 /* 00002F32 */
  4491. 00002F14  0C6D 0008 14C2           cmpi.w     [A5 + 0x14C2 /* export_660 */], 0x8
  4492. 00002F1A  6E16                     bgt        +0x18 /* 00002F32 */
  4493. 00002F1C  3F2D 14C2                move.w     -[A7], [A5 + 0x14C2 /* export_660 */]
  4494. 00002F20  3F2D 14C2                move.w     -[A7], [A5 + 0x14C2 /* export_660 */]
  4495. 00002F24  4EAD AAA0                jsr        [A5 - 0x5560]
  4496. 00002F28  544F                     addq.w     A7, 2
  4497. 00002F2A  2F08                     move.l     -[A7], A0
  4498. 00002F2C  4EBA FEB8                jsr        [PC - 0x148 /* 00002DE6 */]
  4499. 00002F30  5C4F                     addq.w     A7, 6
  4500. label00002F32:
  4501. 00002F32  206F 00E4                movea.l    A0, [A7 + 0xE4]
  4502. 00002F36  20AD 14BE                move.l     [A0], [A5 + 0x14BE]
  4503. 00002F3A  206F 00E8                movea.l    A0, [A7 + 0xE8]
  4504. 00002F3E  30AD 14C2                move.w     [A0], [A5 + 0x14C2 /* export_660 */]
  4505. 00002F42  4FEF 00D0                lea.l      A7, [A7 + 0xD0]
  4506. 00002F46  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4507. 00002F4A  4E75                     rts
  4508. fn00002F4C:
  4509. 00002F4C  48E7 1030                movem.l    -[A7], D3,A2,A3
  4510. 00002F50  362F 0010                move.w     D3, [A7 + 0x10]
  4511. 00002F54  0C43 0001                cmpi.w     D3, 0x1
  4512. 00002F58  6F10                     ble        +0x12 /* 00002F6A */
  4513. 00002F5A  3F03                     move.w     -[A7], D3
  4514. 00002F5C  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  4515. 00002F60  4EAD A9E0                jsr        [A5 - 0x5620]
  4516. 00002F64  2448                     movea.l    A2, A0
  4517. 00002F66  5C4F                     addq.w     A7, 6
  4518. 00002F68  6004                     bra        +0x6 /* 00002F6E */
  4519. label00002F6A:
  4520. 00002F6A  246D 1FFC                movea.l    A2, [A5 + 0x1FFC]
  4521. label00002F6E:
  4522. 00002F6E  0C43 0001                cmpi.w     D3, 0x1
  4523. 00002F72  6F1E                     ble        +0x20 /* 00002F92 */
  4524. 00002F74  0C43 0008                cmpi.w     D3, 0x8
  4525. 00002F78  6E18                     bgt        +0x1A /* 00002F92 */
  4526. 00002F7A  594F                     subq.w     A7, 4
  4527. 00002F7C  AA32                     syscall    GetGDevice
  4528. 00002F7E  205F                     movea.l    A0, [A7]+
  4529. 00002F80  2648                     movea.l    A3, A0
  4530. 00002F82  2F0A                     move.l     -[A7], A2
  4531. 00002F84  AA31                     syscall    SetGDevice
  4532. 00002F86  42A7                     clr.l      -[A7]
  4533. 00002F88  42A7                     clr.l      -[A7]
  4534. 00002F8A  4267                     clr.w      -[A7]
  4535. 00002F8C  AA39                     syscall    MakeITable
  4536. 00002F8E  2F0B                     move.l     -[A7], A3
  4537. 00002F90  AA31                     syscall    SetGDevice
  4538. label00002F92:
  4539. 00002F92  204A                     movea.l    A0, A2
  4540. 00002F94  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4541. 00002F98  4E75                     rts
  4542. fn00002F9A:
  4543. 00002F9A  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  4544. 00002F9E  266F 001C                movea.l    A3, [A7 + 0x1C]
  4545. 00002FA2  2C6F 0020                movea.l    A6, [A7 + 0x20]
  4546. 00002FA6  362F 0024                move.w     D3, [A7 + 0x24]
  4547. 00002FAA  286F 0026                movea.l    A4, [A7 + 0x26]
  4548. 00002FAE  246F 002A                movea.l    A2, [A7 + 0x2A]
  4549. 00002FB2  182F 002E                move.b     D4, [A7 + 0x2E]
  4550. 00002FB6  4878 007A                push.l     0x7A /* 'z' */
  4551. 00002FBA  42A7                     clr.l      -[A7]
  4552. 00002FBC  2F0A                     move.l     -[A7], A2
  4553. 00002FBE  4EAD 9E32                jsr        [A5 - 0x61CE]
  4554. 00002FC2  3483                     move.w     [A2], D3
  4555. 00002FC4  0C43 0001                cmpi.w     D3, 0x1
  4556. 00002FC8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4557. 00002FCC  6F5A                     ble        +0x5C /* 00003028 */
  4558. 00002FCE  4A04                     tst.b      D4
  4559. 00002FD0  6714                     beq        +0x16 /* 00002FE6 */
  4560. 00002FD2  2F0B                     move.l     -[A7], A3
  4561. 00002FD4  2F0E                     move.l     -[A7], A6
  4562. 00002FD6  3F03                     move.w     -[A7], D3
  4563. 00002FD8  4EAD AA98                jsr        [A5 - 0x5568]
  4564. 00002FDC  4A6D 1C10                tst.w      [A5 + 0x1C10]
  4565. 00002FE0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4566. 00002FE4  666A                     bne        +0x6C /* 00003050 */
  4567. label00002FE6:
  4568. 00002FE6  0C43 0001                cmpi.w     D3, 0x1
  4569. 00002FEA  6F10                     ble        +0x12 /* 00002FFC */
  4570. 00002FEC  0C43 0008                cmpi.w     D3, 0x8
  4571. 00002FF0  6E0A                     bgt        +0xC /* 00002FFC */
  4572. 00002FF2  206B 0004                movea.l    A0, [A3 + 0x4]
  4573. 00002FF6  2050                     movea.l    A0, [A0]
  4574. 00002FF8  214C 002A                move.l     [A0 + 0x2A], A4
  4575. label00002FFC:
  4576. 00002FFC  594F                     subq.w     A7, 4
  4577. 00002FFE  AA32                     syscall    GetGDevice
  4578. 00003000  205F                     movea.l    A0, [A7]+
  4579. 00003002  2548 0006                move.l     [A2 + 0x6], A0
  4580. 00003006  2F0C                     move.l     -[A7], A4
  4581. 00003008  3F03                     move.w     -[A7], D3
  4582. 0000300A  4EBA FF40                jsr        [PC - 0xC0 /* 00002F4C */]
  4583. 0000300E  2548 0076                move.l     [A2 + 0x76], A0
  4584. 00003012  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  4585. 00003016  AA31                     syscall    SetGDevice
  4586. 00003018  486A 0002                pea.l      [A2 + 0x2]
  4587. 0000301C  A874                     syscall    GetPort
  4588. 0000301E  486A 000A                pea.l      [A2 + 0xA]
  4589. 00003022  AA00                     syscall    OpenCPort
  4590. 00003024  5C4F                     addq.w     A7, 6
  4591. 00003026  6028                     bra        +0x2A /* 00003050 */
  4592. label00003028:
  4593. 00003028  4A04                     tst.b      D4
  4594. 0000302A  6710                     beq        +0x12 /* 0000303C */
  4595. 0000302C  2F0B                     move.l     -[A7], A3
  4596. 0000302E  2F0E                     move.l     -[A7], A6
  4597. 00003030  4EAD BD50                jsr        [A5 - 0x42B0]
  4598. 00003034  4A6D 1C10                tst.w      [A5 + 0x1C10]
  4599. 00003038  504F                     addq.w     A7, 8
  4600. 0000303A  6614                     bne        +0x16 /* 00003050 */
  4601. label0000303C:
  4602. 0000303C  42AA 0006                clr.l      [A2 + 0x6]
  4603. 00003040  42AA 0076                clr.l      [A2 + 0x76]
  4604. 00003044  486A 0002                pea.l      [A2 + 0x2]
  4605. 00003048  A874                     syscall    GetPort
  4606. 0000304A  486A 000A                pea.l      [A2 + 0xA]
  4607. 0000304E  A86F                     syscall    OpenPort
  4608. label00003050:
  4609. 00003050  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4610. 00003054  4E75                     rts
  4611. fn00003056:
  4612. 00003056  2F0A                     move.l     -[A7], A2
  4613. 00003058  246F 0008                movea.l    A2, [A7 + 0x8]
  4614. 0000305C  4AAA 0002                tst.l      [A2 + 0x2]
  4615. 00003060  671A                     beq        +0x1C /* 0000307C */
  4616. 00003062  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  4617. 00003066  A873                     syscall    SetPort
  4618. 00003068  0C52 0001                cmpi.w     [A2], 0x1
  4619. 0000306C  6F08                     ble        +0xA /* 00003076 */
  4620. 0000306E  486A 000A                pea.l      [A2 + 0xA]
  4621. 00003072  A87D                     syscall    ClosePort
  4622. 00003074  6006                     bra        +0x8 /* 0000307C */
  4623. label00003076:
  4624. 00003076  486A 000A                pea.l      [A2 + 0xA]
  4625. 0000307A  A87D                     syscall    ClosePort
  4626. label0000307C:
  4627. 0000307C  4AAA 0006                tst.l      [A2 + 0x6]
  4628. 00003080  670C                     beq        +0xE /* 0000308E */
  4629. 00003082  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  4630. 00003086  AA31                     syscall    SetGDevice
  4631. 00003088  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  4632. 0000308C  AA30                     syscall    DisposeGDevice/DisposGDevice
  4633. label0000308E:
  4634. 0000308E  245F                     movea.l    A2, [A7]+
  4635. 00003090  4E75                     rts
  4636. 00003092  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  4637. 00003096  246F 0026                movea.l    A2, [A7 + 0x26]
  4638. 0000309A  362F 001C                move.w     D3, [A7 + 0x1C]
  4639. 0000309E  302A 0004                move.w     D0, [A2 + 0x4]
  4640. 000030A2  0280 0000 8000           andi.l     D0, 0x8000
  4641. 000030A8  4A80                     tst.l      D0
  4642. 000030AA  6E04                     bgt        +0x6 /* 000030B0 */
  4643. 000030AC  7000                     moveq.l    D0, 0x00
  4644. 000030AE  6002                     bra        +0x4 /* 000030B2 */
  4645. label000030B0:
  4646. 000030B0  7001                     moveq.l    D0, 0x01
  4647. label000030B2:
  4648. 000030B2  1800                     move.b     D4, D0
  4649. 000030B4  0C43 0040                cmpi.w     D3, 0x40 /* '@' */
  4650. 000030B8  670A                     beq        +0xC /* 000030C4 */
  4651. 000030BA  4A43                     tst.w      D3
  4652. 000030BC  6706                     beq        +0x8 /* 000030C4 */
  4653. 000030BE  0C43 0008                cmpi.w     D3, 0x8
  4654. 000030C2  6604                     bne        +0x6 /* 000030C8 */
  4655. label000030C4:
  4656. 000030C4  362D 14C4                move.w     D3, [A5 + 0x14C4]
  4657. label000030C8:
  4658. 000030C8  4A04                     tst.b      D4
  4659. 000030CA  6764                     beq        +0x66 /* 00003130 */
  4660. 000030CC  0C6A 0001 0020           cmpi.w     [A2 + 0x20], 0x1
  4661. 000030D2  6F5C                     ble        +0x5E /* 00003130 */
  4662. 000030D4  0C6A 0008 0020           cmpi.w     [A2 + 0x20], 0x8
  4663. 000030DA  6E54                     bgt        +0x56 /* 00003130 */
  4664. 000030DC  594F                     subq.w     A7, 4
  4665. 000030DE  AA32                     syscall    GetGDevice
  4666. 000030E0  205F                     movea.l    A0, [A7]+
  4667. 000030E2  2050                     movea.l    A0, [A0]
  4668. 000030E4  2068 0016                movea.l    A0, [A0 + 0x16]
  4669. 000030E8  2650                     movea.l    A3, [A0]
  4670. 000030EA  206A 002A                movea.l    A0, [A2 + 0x2A]
  4671. 000030EE  2050                     movea.l    A0, [A0]
  4672. 000030F0  2A10                     move.l     D5, [A0]
  4673. 000030F2  302A 0020                move.w     D0, [A2 + 0x20]
  4674. 000030F6  B06B 0020                cmp.w      D0, [A3 + 0x20]
  4675. 000030FA  6634                     bne        +0x36 /* 00003130 */
  4676. 000030FC  2F2B 002A                move.l     -[A7], [A3 + 0x2A]
  4677. 00003100  2F2A 002A                move.l     -[A7], [A2 + 0x2A]
  4678. 00003104  4EAD B910                jsr        [A5 - 0x46F0]
  4679. 00003108  4A00                     tst.b      D0
  4680. 0000310A  504F                     addq.w     A7, 8
  4681. 0000310C  6710                     beq        +0x12 /* 0000311E */
  4682. 0000310E  206B 002A                movea.l    A0, [A3 + 0x2A]
  4683. 00003112  2050                     movea.l    A0, [A0]
  4684. 00003114  226A 002A                movea.l    A1, [A2 + 0x2A]
  4685. 00003118  2251                     movea.l    A1, [A1]
  4686. 0000311A  2290                     move.l     [A1], [A0]
  4687. 0000311C  6012                     bra        +0x14 /* 00003130 */
  4688. label0000311E:
  4689. 0000311E  206B 002A                movea.l    A0, [A3 + 0x2A]
  4690. 00003122  2050                     movea.l    A0, [A0]
  4691. 00003124  2010                     move.l     D0, [A0]
  4692. 00003126  5280                     addq.l     D0, 1
  4693. 00003128  206A 002A                movea.l    A0, [A2 + 0x2A]
  4694. 0000312C  2050                     movea.l    A0, [A0]
  4695. 0000312E  2080                     move.l     [A0], D0
  4696. label00003130:
  4697. 00003130  2F0A                     move.l     -[A7], A2
  4698. 00003132  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  4699. 00003136  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  4700. 0000313A  3F03                     move.w     -[A7], D3
  4701. 0000313C  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  4702. 00003140  206D 14C6                movea.l    A0, [A5 + 0x14C6]
  4703. 00003144  4E90                     jsr        [A0]
  4704. 00003146  4A04                     tst.b      D4
  4705. 00003148  6718                     beq        +0x1A /* 00003162 */
  4706. 0000314A  0C6A 0001 0020           cmpi.w     [A2 + 0x20], 0x1
  4707. 00003150  6F10                     ble        +0x12 /* 00003162 */
  4708. 00003152  0C6A 0008 0020           cmpi.w     [A2 + 0x20], 0x8
  4709. 00003158  6E08                     bgt        +0xA /* 00003162 */
  4710. 0000315A  206A 002A                movea.l    A0, [A2 + 0x2A]
  4711. 0000315E  2050                     movea.l    A0, [A0]
  4712. 00003160  2085                     move.l     [A0], D5
  4713. label00003162:
  4714. 00003162  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  4715. 00003166  4E74 0012                rtd        0x0012
  4716. fn0000316A:
  4717. 0000316A  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  4718. 0000316E  4FEF FEF8                lea.l      A7, [A7 - 0x108]
  4719. 00003172  266F 0120                movea.l    A3, [A7 + 0x120]
  4720. 00003176  246F 0124                movea.l    A2, [A7 + 0x124]
  4721. 0000317A  362F 0128                move.w     D3, [A7 + 0x128]
  4722. 0000317E  182F 012E                move.b     D4, [A7 + 0x12E]
  4723. 00003182  2053                     movea.l    A0, [A3]
  4724. 00003184  2F68 0002 007C           move.l     [A7 + 0x7C], [A0 + 0x2]
  4725. 0000318A  2F68 0006 0080           move.l     [A7 + 0x80], [A0 + 0x6]
  4726. 00003190  4878 0012                push.l     0x12
  4727. 00003194  42A7                     clr.l      -[A7]
  4728. 00003196  2F0A                     move.l     -[A7], A2
  4729. 00003198  4EAD 9E32                jsr        [A5 - 0x61CE]
  4730. 0000319C  204B                     movea.l    A0, A3
  4731. 0000319E  A069                     syscall    HGetState
  4732. 000031A0  49C0                     lea.l      A4, D0
  4733. 000031A2  1F40 000D                move.b     [A7 + 0xD], D0
  4734. 000031A6  204B                     movea.l    A0, A3
  4735. 000031A8  A04A                     syscall    HNoPurge
  4736. 000031AA  1F3C 0001                move.b     -[A7], 0x1
  4737. 000031AE  486F 0010                pea.l      [A7 + 0x10]
  4738. 000031B2  2F2F 013C                move.l     -[A7], [A7 + 0x13C]
  4739. 000031B6  3F03                     move.w     -[A7], D3
  4740. 000031B8  486F 0094                pea.l      [A7 + 0x94]
  4741. 000031BC  2F0A                     move.l     -[A7], A2
  4742. 000031BE  4EBA FDDA                jsr        [PC - 0x226 /* 00002F9A */]
  4743. 000031C2  4A6D 1C10                tst.w      [A5 + 0x1C10]
  4744. 000031C6  4FEF 0020                lea.l      A7, [A7 + 0x20]
  4745. 000031CA  6600 00F2                bne        +0xF4 /* 000032BE */
  4746. 000031CE  4878 0001                push.l     0x1
  4747. 000031D2  2F12                     move.l     -[A7], [A2]
  4748. 000031D4  4EAD C268                jsr        [A5 - 0x3D98]
  4749. 000031D8  584F                     addq.w     A7, 4
  4750. 000031DA  2F00                     move.l     -[A7], D0
  4751. 000031DC  4EAD D808                jsr        [A5 - 0x27F8]
  4752. 000031E0  4A00                     tst.b      D0
  4753. 000031E2  504F                     addq.w     A7, 8
  4754. 000031E4  6700 00D2                beq        +0xD4 /* 000032B8 */
  4755. 000031E8  2F0A                     move.l     -[A7], A2
  4756. 000031EA  4EAD BD68                jsr        [A5 - 0x4298]
  4757. 000031EE  0C43 0001                cmpi.w     D3, 0x1
  4758. 000031F2  584F                     addq.w     A7, 4
  4759. 000031F4  6F10                     ble        +0x12 /* 00003206 */
  4760. 000031F6  4EAD D7A0                jsr        [A5 - 0x2860]
  4761. 000031FA  2868 0002                movea.l    A4, [A0 + 0x2]
  4762. 000031FE  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  4763. 00003202  AA06                     syscall    SetPortPix/SetCPortPix
  4764. 00003204  6006                     bra        +0x8 /* 0000320C */
  4765. label00003206:
  4766. 00003206  486A 0004                pea.l      [A2 + 0x4]
  4767. 0000320A  A875                     syscall    SetPBits/SetPortBits
  4768. label0000320C:
  4769. 0000320C  486A 000A                pea.l      [A2 + 0xA]
  4770. 00003210  2F2D 2430                move.l     -[A7], [A5 + 0x2430]
  4771. 00003214  4EAD BB80                jsr        [A5 - 0x4480]
  4772. 00003218  0C43 0001                cmpi.w     D3, 0x1
  4773. 0000321C  504F                     addq.w     A7, 8
  4774. 0000321E  6F2E                     ble        +0x30 /* 0000324E */
  4775. 00003220  486F 0084                pea.l      [A7 + 0x84]
  4776. 00003224  AA4E                     syscall    SetStdCProcs
  4777. 00003226  4A04                     tst.b      D4
  4778. 00003228  6708                     beq        +0xA /* 00003232 */
  4779. 0000322A  41ED B500                lea.l      A0, [A5 - 0x4B00]
  4780. 0000322E  2F48 00B0                move.l     [A7 + 0xB0], A0
  4781. label00003232:
  4782. 00003232  2B6F 00A4 14C6           move.l     [A5 + 0x14C6], [A7 + 0xA4]
  4783. 00003238  41ED B4E0                lea.l      A0, [A5 - 0x4B20]
  4784. 0000323C  2F48 00A4                move.l     [A7 + 0xA4], A0
  4785. 00003240  41EF 0084                lea.l      A0, [A7 + 0x84]
  4786. 00003244  226D 2430                movea.l    A1, [A5 + 0x2430]
  4787. 00003248  2348 0068                move.l     [A1 + 0x68], A0
  4788. 0000324C  602C                     bra        +0x2E /* 0000327A */
  4789. label0000324E:
  4790. 0000324E  486F 00D4                pea.l      [A7 + 0xD4]
  4791. 00003252  A8EA                     syscall    SetStdProcs
  4792. 00003254  4A04                     tst.b      D4
  4793. 00003256  6708                     beq        +0xA /* 00003260 */
  4794. 00003258  41ED B500                lea.l      A0, [A5 - 0x4B00]
  4795. 0000325C  2F48 0100                move.l     [A7 + 0x100], A0
  4796. label00003260:
  4797. 00003260  2B6F 00F4 14C6           move.l     [A5 + 0x14C6], [A7 + 0xF4]
  4798. 00003266  41ED B4E0                lea.l      A0, [A5 - 0x4B20]
  4799. 0000326A  2F48 00F4                move.l     [A7 + 0xF4], A0
  4800. 0000326E  41EF 00D4                lea.l      A0, [A7 + 0xD4]
  4801. 00003272  226D 2430                movea.l    A1, [A5 + 0x2430]
  4802. 00003276  2348 0068                move.l     [A1 + 0x68], A0
  4803. label0000327A:
  4804. 0000327A  4A2F 0130                tst.b      [A7 + 0x130]
  4805. 0000327E  6708                     beq        +0xA /* 00003288 */
  4806. 00003280  3B7C 0040 14C4           move.w     [A5 + 0x14C4], 0x40 /* '@' */
  4807. 00003286  6004                     bra        +0x6 /* 0000328C */
  4808. label00003288:
  4809. 00003288  426D 14C4                clr.w      [A5 + 0x14C4]
  4810. label0000328C:
  4811. 0000328C  4227                     clr.b      -[A7]
  4812. 0000328E  4EAD D7D0                jsr        [A5 - 0x2830]
  4813. 00003292  1800                     move.b     D4, D0
  4814. 00003294  2F0B                     move.l     -[A7], A3
  4815. 00003296  486F 0082                pea.l      [A7 + 0x82]
  4816. 0000329A  A8F6                     syscall    DrawPicture
  4817. 0000329C  1F04                     move.b     -[A7], D4
  4818. 0000329E  4EAD D7D0                jsr        [A5 - 0x2830]
  4819. 000032A2  0C43 0001                cmpi.w     D3, 0x1
  4820. 000032A6  584F                     addq.w     A7, 4
  4821. 000032A8  6F04                     ble        +0x6 /* 000032AE */
  4822. 000032AA  2F0C                     move.l     -[A7], A4
  4823. 000032AC  AA06                     syscall    SetPortPix/SetCPortPix
  4824. label000032AE:
  4825. 000032AE  2F0A                     move.l     -[A7], A2
  4826. 000032B0  4EAD BD70                jsr        [A5 - 0x4290]
  4827. 000032B4  584F                     addq.w     A7, 4
  4828. 000032B6  600E                     bra        +0x10 /* 000032C6 */
  4829. label000032B8:
  4830. 000032B8  3B7C FF94 1C10           move.w     [A5 + 0x1C10], 0xFF94
  4831. label000032BE:
  4832. 000032BE  2F0A                     move.l     -[A7], A2
  4833. 000032C0  4EAD BD78                jsr        [A5 - 0x4288]
  4834. 000032C4  584F                     addq.w     A7, 4
  4835. label000032C6:
  4836. 000032C6  2F0B                     move.l     -[A7], A3
  4837. 000032C8  4EAD C260                jsr        [A5 - 0x3DA0]
  4838. 000032CC  486F 0006                pea.l      [A7 + 0x6]
  4839. 000032D0  4EBA FD84                jsr        [PC - 0x27C /* 00003056 */]
  4840. 000032D4  4FEF 0110                lea.l      A7, [A7 + 0x110]
  4841. 000032D8  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  4842. 000032DC  4E75                     rts
  4843. fn000032DE:
  4844. 000032DE  2F03                     move.l     -[A7], D3
  4845. 000032E0  514F                     subq.w     A7, 8
  4846. 000032E2  4A6F 001A                tst.w      [A7 + 0x1A]
  4847. 000032E6  660E                     bne        +0x10 /* 000032F6 */
  4848. 000032E8  2F2D 1C30                move.l     -[A7], [A5 + 0x1C30]
  4849. 000032EC  4EAD B650                jsr        [A5 - 0x49B0]
  4850. 000032F0  3600                     move.w     D3, D0
  4851. 000032F2  584F                     addq.w     A7, 4
  4852. 000032F4  6004                     bra        +0x6 /* 000032FA */
  4853. label000032F6:
  4854. 000032F6  362F 0018                move.w     D3, [A7 + 0x18]
  4855. label000032FA:
  4856. 000032FA  4297                     clr.l      [A7]
  4857. 000032FC  4227                     clr.b      -[A7]
  4858. 000032FE  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  4859. 00003302  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4860. 00003306  3F03                     move.w     -[A7], D3
  4861. 00003308  486F 0010                pea.l      [A7 + 0x10]
  4862. 0000330C  4EAD D878                jsr        [A5 - 0x2788]
  4863. 00003310  206F 0020                movea.l    A0, [A7 + 0x20]
  4864. 00003314  20AF 0014                move.l     [A0], [A7 + 0x14]
  4865. 00003318  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4866. 0000331C  261F                     move.l     D3, [A7]+
  4867. 0000331E  4E75                     rts
  4868. fn00003320:
  4869. 00003320  2F0A                     move.l     -[A7], A2
  4870. 00003322  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4871. 00003326  4EAD B5F8                jsr        [A5 - 0x4A08]
  4872. 0000332A  2448                     movea.l    A2, A0
  4873. 0000332C  200A                     move.l     D0, A2
  4874. 0000332E  584F                     addq.w     A7, 4
  4875. 00003330  6718                     beq        +0x1A /* 0000334A */
  4876. 00003332  0C2A 0004 000E           cmpi.b     [A2 + 0xE], 0x4
  4877. 00003338  6610                     bne        +0x12 /* 0000334A */
  4878. 0000333A  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  4879. 0000333E  4EAD C260                jsr        [A5 - 0x3DA0]
  4880. 00003342  256F 0010 0014           move.l     [A2 + 0x14], [A7 + 0x10]
  4881. 00003348  584F                     addq.w     A7, 4
  4882. label0000334A:
  4883. 0000334A  245F                     movea.l    A2, [A7]+
  4884. 0000334C  4E75                     rts
  4885. fn0000334E:
  4886. 0000334E  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  4887. 00003352  594F                     subq.w     A7, 4
  4888. 00003354  266F 001C                movea.l    A3, [A7 + 0x1C]
  4889. 00003358  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  4890. 0000335C  4EAD B5F8                jsr        [A5 - 0x4A08]
  4891. 00003360  2448                     movea.l    A2, A0
  4892. 00003362  4A6B 0008                tst.w      [A3 + 0x8]
  4893. 00003366  6D04                     blt        +0x6 /* 0000336C */
  4894. 00003368  7001                     moveq.l    D0, 0x01
  4895. 0000336A  600C                     bra        +0xE /* 00003378 */
  4896. label0000336C:
  4897. 0000336C  206B 0004                movea.l    A0, [A3 + 0x4]
  4898. 00003370  2050                     movea.l    A0, [A0]
  4899. 00003372  3028 0020                move.w     D0, [A0 + 0x20]
  4900. 00003376  48C0                     ext.l      D0
  4901. label00003378:
  4902. 00003378  3F00                     move.w     -[A7], D0
  4903. 0000337A  2F13                     move.l     -[A7], [A3]
  4904. 0000337C  4EAD AA38                jsr        [A5 - 0x55C8]
  4905. 00003380  4A2F 0032                tst.b      [A7 + 0x32]
  4906. 00003384  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4907. 00003388  6706                     beq        +0x8 /* 00003390 */
  4908. 0000338A  2F0B                     move.l     -[A7], A3
  4909. 0000338C  4EBA 0664                jsr        [PC + 0x664 /* 000039F2 */]
  4910. label00003390:
  4911. 00003390  302F 0024                move.w     D0, [A7 + 0x24]
  4912. 00003394  B06D 8AC4                cmp.w      D0, [A5 - 0x753C]
  4913. 00003398  662E                     bne        +0x30 /* 000033C8 */
  4914. 0000339A  302F 0026                move.w     D0, [A7 + 0x26]
  4915. 0000339E  B06D 8AC6                cmp.w      D0, [A5 - 0x753A]
  4916. 000033A2  6624                     bne        +0x26 /* 000033C8 */
  4917. 000033A4  302A 0020                move.w     D0, [A2 + 0x20]
  4918. 000033A8  48C0                     ext.l      D0
  4919. 000033AA  322B 000C                move.w     D1, [A3 + 0xC]
  4920. 000033AE  48C1                     ext.l      D1
  4921. 000033B0  9280                     sub.l      D1, D0
  4922. 000033B2  D36A 0030                add.w      [A2 + 0x30], D1
  4923. 000033B6  302A 001E                move.w     D0, [A2 + 0x1E]
  4924. 000033BA  48C0                     ext.l      D0
  4925. 000033BC  322B 000A                move.w     D1, [A3 + 0xA]
  4926. 000033C0  48C1                     ext.l      D1
  4927. 000033C2  9280                     sub.l      D1, D0
  4928. 000033C4  D36A 002E                add.w      [A2 + 0x2E], D1
  4929. label000033C8:
  4930. 000033C8  486A 0014                pea.l      [A2 + 0x14]
  4931. 000033CC  4EAD BD78                jsr        [A5 - 0x4288]
  4932. 000033D0  2F0A                     move.l     -[A7], A2
  4933. 000033D2  4EAD AB10                jsr        [A5 - 0x54F0]
  4934. 000033D6  41D3                     lea.l      A0, [A3]
  4935. 000033D8  43EA 0014                lea.l      A1, [A2 + 0x14]
  4936. 000033DC  7003                     moveq.l    D0, 0x03
  4937. label000033DE:
  4938. 000033DE  22D8                     move.l     [A1]+, [A0]+
  4939. 000033E0  51C8 FFFC                dbf        D0, -0x6 /* 000033DE */
  4940. 000033E4  32D8                     move.w     [A1]+, [A0]+
  4941. 000033E6  4A6B 0008                tst.w      [A3 + 0x8]
  4942. 000033EA  504F                     addq.w     A7, 8
  4943. 000033EC  6D04                     blt        +0x6 /* 000033F2 */
  4944. 000033EE  7001                     moveq.l    D0, 0x01
  4945. 000033F0  600C                     bra        +0xE /* 000033FE */
  4946. label000033F2:
  4947. 000033F2  206B 0004                movea.l    A0, [A3 + 0x4]
  4948. 000033F6  2050                     movea.l    A0, [A0]
  4949. 000033F8  3028 0020                move.w     D0, [A0 + 0x20]
  4950. 000033FC  48C0                     ext.l      D0
  4951. label000033FE:
  4952. 000033FE  1540 0033                move.b     [A2 + 0x33], D0
  4953. 00003402  4857                     pea.l      [A7]
  4954. 00003404  4EAD AF08                jsr        [A5 - 0x50F8]
  4955. 00003408  584F                     addq.w     A7, 4
  4956. 0000340A  2F17                     move.l     -[A7], [A7]
  4957. 0000340C  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4958. 00003410  2F2D 1C30                move.l     -[A7], [A5 + 0x1C30]
  4959. 00003414  4EAD B640                jsr        [A5 - 0x49C0]
  4960. 00003418  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  4961. 0000341C  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  4962. 00003420  2F2D 1C30                move.l     -[A7], [A5 + 0x1C30]
  4963. 00003424  4EAD B640                jsr        [A5 - 0x49C0]
  4964. 00003428  0C2A 0001 0033           cmpi.b     [A2 + 0x33], 0x1
  4965. 0000342E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4966. 00003432  6320                     bls        +0x22 /* 00003454 */
  4967. 00003434  0C2A 0008 0033           cmpi.b     [A2 + 0x33], 0x8
  4968. 0000343A  6218                     bhi        +0x1A /* 00003454 */
  4969. 0000343C  7000                     moveq.l    D0, 0x00
  4970. 0000343E  102A 0033                move.b     D0, [A2 + 0x33]
  4971. 00003442  3F00                     move.w     -[A7], D0
  4972. 00003444  4EAD AAA0                jsr        [A5 - 0x5560]
  4973. 00003448  226A 0018                movea.l    A1, [A2 + 0x18]
  4974. 0000344C  2251                     movea.l    A1, [A1]
  4975. 0000344E  2348 002A                move.l     [A1 + 0x2A], A0
  4976. 00003452  544F                     addq.w     A7, 2
  4977. label00003454:
  4978. 00003454  302F 0024                move.w     D0, [A7 + 0x24]
  4979. 00003458  B06D 8AC0                cmp.w      D0, [A5 - 0x7540]
  4980. 0000345C  6626                     bne        +0x28 /* 00003484 */
  4981. 0000345E  302F 0026                move.w     D0, [A7 + 0x26]
  4982. 00003462  B06D 8AC2                cmp.w      D0, [A5 - 0x753E]
  4983. 00003466  661C                     bne        +0x1E /* 00003484 */
  4984. 00003468  1F3C 0001                move.b     -[A7], 0x1
  4985. 0000346C  4267                     clr.w      -[A7]
  4986. 0000346E  486A 000F                pea.l      [A2 + 0xF]
  4987. 00003472  4EAD BAA8                jsr        [A5 - 0x4558]
  4988. 00003476  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4989. 0000347A  4EAD BAE0                jsr        [A5 - 0x4520]
  4990. 0000347E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4991. 00003482  601A                     bra        +0x1C /* 0000349E */
  4992. label00003484:
  4993. 00003484  302F 0024                move.w     D0, [A7 + 0x24]
  4994. 00003488  B06D 8AC4                cmp.w      D0, [A5 - 0x753C]
  4995. 0000348C  660A                     bne        +0xC /* 00003498 */
  4996. 0000348E  302F 0026                move.w     D0, [A7 + 0x26]
  4997. 00003492  B06D 8AC6                cmp.w      D0, [A5 - 0x753A]
  4998. 00003496  6706                     beq        +0x8 /* 0000349E */
  4999. label00003498:
  5000. 00003498  256F 0024 002E           move.l     [A2 + 0x2E], [A7 + 0x24]
  5001. label0000349E:
  5002. 0000349E  4227                     clr.b      -[A7]
  5003. 000034A0  4267                     clr.w      -[A7]
  5004. 000034A2  486A 000F                pea.l      [A2 + 0xF]
  5005. 000034A6  4EAD BAA8                jsr        [A5 - 0x4558]
  5006. 000034AA  7600                     moveq.l    D3, 0x00
  5007. 000034AC  3803                     move.w     D4, D3
  5008. 000034AE  4A6A 0024                tst.w      [A2 + 0x24]
  5009. 000034B2  504F                     addq.w     A7, 8
  5010. 000034B4  6E10                     bgt        +0x12 /* 000034C6 */
  5011. 000034B6  382A 0024                move.w     D4, [A2 + 0x24]
  5012. 000034BA  48C4                     ext.l      D4
  5013. 000034BC  4484                     neg.l      D4
  5014. 000034BE  7220                     moveq.l    D1, 0x20
  5015. 000034C0  D881                     add.l      D4, D1
  5016. 000034C2  D96A 0030                add.w      [A2 + 0x30], D4
  5017. label000034C6:
  5018. 000034C6  4A6A 0022                tst.w      [A2 + 0x22]
  5019. 000034CA  6E10                     bgt        +0x12 /* 000034DC */
  5020. 000034CC  362A 0022                move.w     D3, [A2 + 0x22]
  5021. 000034D0  48C3                     ext.l      D3
  5022. 000034D2  4483                     neg.l      D3
  5023. 000034D4  7220                     moveq.l    D1, 0x20
  5024. 000034D6  D681                     add.l      D3, D1
  5025. 000034D8  D76A 002E                add.w      [A2 + 0x2E], D3
  5026. label000034DC:
  5027. 000034DC  486A 001E                pea.l      [A2 + 0x1E]
  5028. 000034E0  3F04                     move.w     -[A7], D4
  5029. 000034E2  3F03                     move.w     -[A7], D3
  5030. 000034E4  A8A8                     syscall    OffsetRect
  5031. 000034E6  4A6A 001C                tst.w      [A2 + 0x1C]
  5032. 000034EA  6C12                     bge        +0x14 /* 000034FE */
  5033. 000034EC  206A 0018                movea.l    A0, [A2 + 0x18]
  5034. 000034F0  2050                     movea.l    A0, [A0]
  5035. 000034F2  216A 001E 0006           move.l     [A0 + 0x6], [A2 + 0x1E]
  5036. 000034F8  216A 0022 000A           move.l     [A0 + 0xA], [A2 + 0x22]
  5037. label000034FE:
  5038. 000034FE  2F0A                     move.l     -[A7], A2
  5039. 00003500  4EAD B220                jsr        [A5 - 0x4DE0]
  5040. 00003504  4A00                     tst.b      D0
  5041. 00003506  584F                     addq.w     A7, 4
  5042. 00003508  670E                     beq        +0x10 /* 00003518 */
  5043. 0000350A  3F3C 0001                move.w     -[A7], 0x1
  5044. 0000350E  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  5045. 00003512  4EAD B2C8                jsr        [A5 - 0x4D38]
  5046. 00003516  5C4F                     addq.w     A7, 6
  5047. label00003518:
  5048. 00003518  584F                     addq.w     A7, 4
  5049. 0000351A  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  5050. 0000351E  4E75                     rts
  5051. fn00003520:
  5052. 00003520  7000                     moveq.l    D0, 0x00
  5053. 00003522  102F 0008                move.b     D0, [A7 + 0x8]
  5054. 00003526  6702                     beq        +0x4 /* 0000352A */
  5055. 00003528  6018                     bra        +0x1A /* 00003542 */
  5056. label0000352A:
  5057. 0000352A  1F2F 0012                move.b     -[A7], [A7 + 0x12]
  5058. 0000352E  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  5059. 00003532  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  5060. 00003536  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  5061. 0000353A  4EBA F926                jsr        [PC - 0x6DA /* 00002E62 */]
  5062. 0000353E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5063. label00003542:
  5064. 00003542  4E75                     rts
  5065. fn00003544:
  5066. 00003544  48E7 1800                movem.l    -[A7], D3,D4
  5067. 00003548  182F 0010                move.b     D4, [A7 + 0x10]
  5068. 0000354C  162F 001C                move.b     D3, [A7 + 0x1C]
  5069. 00003550  4A6F 0016                tst.w      [A7 + 0x16]
  5070. 00003554  662A                     bne        +0x2C /* 00003580 */
  5071. 00003556  1F03                     move.b     -[A7], D3
  5072. 00003558  486F 0018                pea.l      [A7 + 0x18]
  5073. 0000355C  486F 001E                pea.l      [A7 + 0x1E]
  5074. 00003560  1F04                     move.b     -[A7], D4
  5075. 00003562  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  5076. 00003566  4EBA FFB8                jsr        [PC - 0x48 /* 00003520 */]
  5077. 0000356A  4A04                     tst.b      D4
  5078. 0000356C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5079. 00003570  660E                     bne        +0x10 /* 00003580 */
  5080. 00003572  4A03                     tst.b      D3
  5081. 00003574  670A                     beq        +0xC /* 00003580 */
  5082. 00003576  486F 000C                pea.l      [A7 + 0xC]
  5083. 0000357A  4EBA 0A7C                jsr        [PC + 0xA7C /* 00003FF8 */]
  5084. 0000357E  584F                     addq.w     A7, 4
  5085. label00003580:
  5086. 00003580  7000                     moveq.l    D0, 0x00
  5087. 00003582  1004                     move.b     D0, D4
  5088. 00003584  6702                     beq        +0x4 /* 00003588 */
  5089. 00003586  6022                     bra        +0x24 /* 000035AA */
  5090. label00003588:
  5091. 00003588  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  5092. 0000358C  1F2F 0022                move.b     -[A7], [A7 + 0x22]
  5093. 00003590  1F03                     move.b     -[A7], D3
  5094. 00003592  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  5095. 00003596  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  5096. 0000359A  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  5097. 0000359E  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  5098. 000035A2  4EBA FBC6                jsr        [PC - 0x43A /* 0000316A */]
  5099. 000035A6  4FEF 0016                lea.l      A7, [A7 + 0x16]
  5100. label000035AA:
  5101. 000035AA  4CDF 0018                movem.l    D3,D4, [A7]+
  5102. 000035AE  4E75                     rts
  5103. 000035B0  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  5104. 000035B4  4FEF FFE2                lea.l      A7, [A7 - 0x1E]
  5105. 000035B8  246F 003A                movea.l    A2, [A7 + 0x3A]
  5106. 000035BC  266F 0052                movea.l    A3, [A7 + 0x52]
  5107. 000035C0  7A00                     moveq.l    D5, 0x00
  5108. 000035C2  7800                     moveq.l    D4, 0x00
  5109. 000035C4  4878 0012                push.l     0x12
  5110. 000035C8  42A7                     clr.l      -[A7]
  5111. 000035CA  486F 0010                pea.l      [A7 + 0x10]
  5112. 000035CE  4EAD 9E32                jsr        [A5 - 0x61CE]
  5113. 000035D2  7000                     moveq.l    D0, 0x00
  5114. 000035D4  102F 005C                move.b     D0, [A7 + 0x5C]
  5115. 000035D8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5116. 000035DC  5580                     subq.l     D0, 2
  5117. 000035DE  6714                     beq        +0x16 /* 000035F4 */
  5118. 000035E0  5580                     subq.l     D0, 2
  5119. 000035E2  6702                     beq        +0x4 /* 000035E6 */
  5120. 000035E4  600E                     bra        +0x10 /* 000035F4 */
  5121. label000035E6:
  5122. 000035E6  3613                     move.w     D3, [A3]
  5123. 000035E8  2F6B 0002 001A           move.l     [A7 + 0x1A], [A3 + 0x2]
  5124. 000035EE  182B 0006                move.b     D4, [A3 + 0x6]
  5125. 000035F2  6022                     bra        +0x24 /* 00003616 */
  5126. label000035F4:
  5127. 000035F4  206D 1FFC                movea.l    A0, [A5 + 0x1FFC]
  5128. 000035F8  2050                     movea.l    A0, [A0]
  5129. 000035FA  2068 0016                movea.l    A0, [A0 + 0x16]
  5130. 000035FE  2050                     movea.l    A0, [A0]
  5131. 00003600  3628 0020                move.w     D3, [A0 + 0x20]
  5132. 00003604  0C43 0001                cmpi.w     D3, 0x1
  5133. 00003608  6F0C                     ble        +0xE /* 00003616 */
  5134. 0000360A  0C43 0008                cmpi.w     D3, 0x8
  5135. 0000360E  6E06                     bgt        +0x8 /* 00003616 */
  5136. 00003610  2F6D 205A 001A           move.l     [A7 + 0x1A], [A5 + 0x205A /* export_1031 */]
  5137. label00003616:
  5138. 00003616  0C43 0001                cmpi.w     D3, 0x1
  5139. 0000361A  6F14                     ble        +0x16 /* 00003630 */
  5140. 0000361C  0C43 0008                cmpi.w     D3, 0x8
  5141. 00003620  6E0E                     bgt        +0x10 /* 00003630 */
  5142. 00003622  3F03                     move.w     -[A7], D3
  5143. 00003624  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  5144. 00003628  4EAD AA60                jsr        [A5 - 0x55A0]
  5145. 0000362C  2848                     movea.l    A4, A0
  5146. 0000362E  5C4F                     addq.w     A7, 6
  5147. label00003630:
  5148. 00003630  42A7                     clr.l      -[A7]
  5149. 00003632  1F04                     move.b     -[A7], D4
  5150. 00003634  4227                     clr.b      -[A7]
  5151. 00003636  2F0C                     move.l     -[A7], A4
  5152. 00003638  3F03                     move.w     -[A7], D3
  5153. 0000363A  486F 0016                pea.l      [A7 + 0x16]
  5154. 0000363E  1F2F 0054                move.b     -[A7], [A7 + 0x54]
  5155. 00003642  2F2F 0052                move.l     -[A7], [A7 + 0x52]
  5156. 00003646  4EBA FEFC                jsr        [PC - 0x104 /* 00003544 */]
  5157. 0000364A  4A6D 1C10                tst.w      [A5 + 0x1C10]
  5158. 0000364E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5159. 00003652  667C                     bne        +0x7E /* 000036D0 */
  5160. 00003654  4A6A 0002                tst.w      [A2 + 0x2]
  5161. 00003658  6712                     beq        +0x14 /* 0000366C */
  5162. 0000365A  2F12                     move.l     -[A7], [A2]
  5163. 0000365C  486F 0008                pea.l      [A7 + 0x8]
  5164. 00003660  4EAD B9B8                jsr        [A5 - 0x4648]
  5165. 00003664  24AF 000C                move.l     [A2], [A7 + 0xC]
  5166. 00003668  504F                     addq.w     A7, 8
  5167. 0000366A  601A                     bra        +0x1C /* 00003686 */
  5168. label0000366C:
  5169. 0000366C  2F2D 1C30                move.l     -[A7], [A5 + 0x1C30]
  5170. 00003670  4EAD B650                jsr        [A5 - 0x49B0]
  5171. 00003674  584F                     addq.w     A7, 4
  5172. 00003676  3F00                     move.w     -[A7], D0
  5173. 00003678  486F 0002                pea.l      [A7 + 0x2]
  5174. 0000367C  4EAD B9F8                jsr        [A5 - 0x4608]
  5175. 00003680  24AF 0006                move.l     [A2], [A7 + 0x6]
  5176. 00003684  5C4F                     addq.w     A7, 6
  5177. label00003686:
  5178. 00003686  42A7                     clr.l      -[A7]
  5179. 00003688  42A7                     clr.l      -[A7]
  5180. 0000368A  42A7                     clr.l      -[A7]
  5181. 0000368C  3F3C 000E                move.w     -[A7], 0xE
  5182. 00003690  2F12                     move.l     -[A7], [A2]
  5183. 00003692  3F3C 0001                move.w     -[A7], 0x1
  5184. 00003696  4EBA CA82                jsr        [PC - 0x357E /* 0000011A */]
  5185. 0000369A  4A6D 1C10                tst.w      [A5 + 0x1C10]
  5186. 0000369E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5187. 000036A2  662C                     bne        +0x2E /* 000036D0 */
  5188. 000036A4  2F12                     move.l     -[A7], [A2]
  5189. 000036A6  4EAD B5F8                jsr        [A5 - 0x4A08]
  5190. 000036AA  1145 0032                move.b     [A0 + 0x32], D5
  5191. 000036AE  1F2F 004E                move.b     -[A7], [A7 + 0x4E]
  5192. 000036B2  2F2F 0052                move.l     -[A7], [A7 + 0x52]
  5193. 000036B6  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  5194. 000036BA  486F 0016                pea.l      [A7 + 0x16]
  5195. 000036BE  2F12                     move.l     -[A7], [A2]
  5196. 000036C0  4EBA FC8C                jsr        [PC - 0x374 /* 0000334E */]
  5197. 000036C4  7001                     moveq.l    D0, 0x01
  5198. 000036C6  4FEF 0034                lea.l      A7, [A7 + 0x34]
  5199. 000036CA  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5200. 000036CE  4E75                     rts
  5201. label000036D0:
  5202. 000036D0  486F 0008                pea.l      [A7 + 0x8]
  5203. 000036D4  4EAD BD78                jsr        [A5 - 0x4288]
  5204. 000036D8  7001                     moveq.l    D0, 0x01
  5205. 000036DA  4FEF 0022                lea.l      A7, [A7 + 0x22]
  5206. 000036DE  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5207. 000036E2  4E75                     rts
  5208. fn000036E4:
  5209. 000036E4  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  5210. 000036E8  4FEF FECE                lea.l      A7, [A7 - 0x132]
  5211. 000036EC  1A2F 0152                move.b     D5, [A7 + 0x152]
  5212. 000036F0  182F 0154                move.b     D4, [A7 + 0x154]
  5213. 000036F4  266F 015C                movea.l    A3, [A7 + 0x15C]
  5214. 000036F8  2F2F 014A                move.l     -[A7], [A7 + 0x14A]
  5215. 000036FC  4EAD B5F8                jsr        [A5 - 0x4A08]
  5216. 00003700  2448                     movea.l    A2, A0
  5217. 00003702  7000                     moveq.l    D0, 0x00
  5218. 00003704  102F 015E                move.b     D0, [A7 + 0x15E]
  5219. 00003708  584F                     addq.w     A7, 4
  5220. 0000370A  0C80 0000 0005           cmpi.l     D0, 0x5
  5221. 00003710  6200 00BE                bhi        +0xC0 /* 000037D0 */
  5222. 00003714  303B 0206                move.w     D0, [PC + D0.w * 2 + 0x6]
  5223. 00003718  4EFB 0002                jmp        [PC + D0.w + 0x2]
  5224. 0000371C  00B4 00B4 000C 00E8      ori.l      [A4 + D0.w - 0x24], 0xB4000C
  5225. 00003724  0030 0042 206D           ori.b      [A0 + D2.w + 0x6D], 0x42 /* 'B' */
  5226. 0000372A  1FFC 2050                move.b     <<invalid special address>>, 0x50 /* 'P' */
  5227. 0000372E  2068 0016                movea.l    A0, [A0 + 0x16]
  5228. 00003732  2050                     movea.l    A0, [A0]
  5229. 00003734  3F68 0020 0128           move.w     [A7 + 0x128], [A0 + 0x20]
  5230. 0000373A  2F6D 205A 012A           move.l     [A7 + 0x12A], [A5 + 0x205A /* export_1031 */]
  5231. 00003740  162A 0032                move.b     D3, [A2 + 0x32]
  5232. 00003744  7208                     moveq.l    D1, 0x08
  5233. 00003746  C681                     and.l      D3, D1
  5234. 00003748  6000 015E                bra        +0x160 /* 000038A8 */
  5235. 0000374C  3F53 0128                move.w     [A7 + 0x128], [A3]
  5236. 00003750  2F6B 0002 012A           move.l     [A7 + 0x12A], [A3 + 0x2]
  5237. 00003756  162B 0006                move.b     D3, [A3 + 0x6]
  5238. 0000375A  6000 014C                bra        +0x14E /* 000038A8 */
  5239. 0000375E  102A 0032                move.b     D0, [A2 + 0x32]
  5240. 00003762  7204                     moveq.l    D1, 0x04
  5241. 00003764  C081                     and.l      D0, D1
  5242. 00003766  6768                     beq        +0x6A /* 000037D0 */
  5243. 00003768  1F04                     move.b     -[A7], D4
  5244. 0000376A  486F 012A                pea.l      [A7 + 0x12A]
  5245. 0000376E  486F 0134                pea.l      [A7 + 0x134]
  5246. 00003772  1F05                     move.b     -[A7], D5
  5247. 00003774  2F2F 015A                move.l     -[A7], [A7 + 0x15A]
  5248. 00003778  4EBA FDA6                jsr        [PC - 0x25A /* 00003520 */]
  5249. 0000377C  4A05                     tst.b      D5
  5250. 0000377E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5251. 00003782  660E                     bne        +0x10 /* 00003792 */
  5252. 00003784  4A04                     tst.b      D4
  5253. 00003786  670A                     beq        +0xC /* 00003792 */
  5254. 00003788  486F 014E                pea.l      [A7 + 0x14E]
  5255. 0000378C  4EBA 086A                jsr        [PC + 0x86A /* 00003FF8 */]
  5256. 00003790  584F                     addq.w     A7, 4
  5257. label00003792:
  5258. 00003792  2F2F 014A                move.l     -[A7], [A7 + 0x14A]
  5259. 00003796  2F2D 1C30                move.l     -[A7], [A5 + 0x1C30]
  5260. 0000379A  486F 0132                pea.l      [A7 + 0x132]
  5261. 0000379E  4EAD B638                jsr        [A5 - 0x49C8]
  5262. 000037A2  4AAF 013A                tst.l      [A7 + 0x13A]
  5263. 000037A6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5264. 000037AA  671E                     beq        +0x20 /* 000037CA */
  5265. 000037AC  42A7                     clr.l      -[A7]
  5266. 000037AE  2F2F 0132                move.l     -[A7], [A7 + 0x132]
  5267. 000037B2  4EBA F5BA                jsr        [PC - 0xA46 /* 00002D6E */]
  5268. 000037B6  4A00                     tst.b      D0
  5269. 000037B8  504F                     addq.w     A7, 8
  5270. 000037BA  670E                     beq        +0x10 /* 000037CA */
  5271. 000037BC  2F2F 012E                move.l     -[A7], [A7 + 0x12E]
  5272. 000037C0  2F2F 012E                move.l     -[A7], [A7 + 0x12E]
  5273. 000037C4  4EBA FB5A                jsr        [PC - 0x4A6 /* 00003320 */]
  5274. 000037C8  504F                     addq.w     A7, 8
  5275. label000037CA:
  5276. 000037CA  7600                     moveq.l    D3, 0x00
  5277. 000037CC  6000 00DA                bra        +0xDC /* 000038A8 */
  5278. label000037D0:
  5279. 000037D0  4A6A 001C                tst.w      [A2 + 0x1C]
  5280. 000037D4  6D04                     blt        +0x6 /* 000037DA */
  5281. 000037D6  7001                     moveq.l    D0, 0x01
  5282. 000037D8  6006                     bra        +0x8 /* 000037E0 */
  5283. label000037DA:
  5284. 000037DA  7000                     moveq.l    D0, 0x00
  5285. 000037DC  102A 0033                move.b     D0, [A2 + 0x33]
  5286. label000037E0:
  5287. 000037E0  3F40 0128                move.w     [A7 + 0x128], D0
  5288. 000037E4  2F2F 014A                move.l     -[A7], [A7 + 0x14A]
  5289. 000037E8  2F2D 1C30                move.l     -[A7], [A5 + 0x1C30]
  5290. 000037EC  486F 0132                pea.l      [A7 + 0x132]
  5291. 000037F0  4EAD B638                jsr        [A5 - 0x49C8]
  5292. 000037F4  162A 0032                move.b     D3, [A2 + 0x32]
  5293. 000037F8  7208                     moveq.l    D1, 0x08
  5294. 000037FA  C681                     and.l      D3, D1
  5295. 000037FC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5296. 00003800  6000 00A6                bra        +0xA8 /* 000038A8 */
  5297. 00003804  1F04                     move.b     -[A7], D4
  5298. 00003806  486F 012A                pea.l      [A7 + 0x12A]
  5299. 0000380A  486F 0134                pea.l      [A7 + 0x134]
  5300. 0000380E  1F05                     move.b     -[A7], D5
  5301. 00003810  2F2F 015A                move.l     -[A7], [A7 + 0x15A]
  5302. 00003814  4EBA FD0A                jsr        [PC - 0x2F6 /* 00003520 */]
  5303. 00003818  4A05                     tst.b      D5
  5304. 0000381A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5305. 0000381E  660E                     bne        +0x10 /* 0000382E */
  5306. 00003820  4A04                     tst.b      D4
  5307. 00003822  670A                     beq        +0xC /* 0000382E */
  5308. 00003824  486F 014E                pea.l      [A7 + 0x14E]
  5309. 00003828  4EBA 07CE                jsr        [PC + 0x7CE /* 00003FF8 */]
  5310. 0000382C  584F                     addq.w     A7, 4
  5311. label0000382E:
  5312. 0000382E  7600                     moveq.l    D3, 0x00
  5313. 00003830  4AAF 012E                tst.l      [A7 + 0x12E]
  5314. 00003834  675E                     beq        +0x60 /* 00003894 */
  5315. 00003836  42A7                     clr.l      -[A7]
  5316. 00003838  2F2F 0132                move.l     -[A7], [A7 + 0x132]
  5317. 0000383C  4EBA F530                jsr        [PC - 0xAD0 /* 00002D6E */]
  5318. 00003840  4A00                     tst.b      D0
  5319. 00003842  504F                     addq.w     A7, 8
  5320. 00003844  674E                     beq        +0x50 /* 00003894 */
  5321. 00003846  486F 012A                pea.l      [A7 + 0x12A]
  5322. 0000384A  2F2F 0132                move.l     -[A7], [A7 + 0x132]
  5323. 0000384E  4EAD B918                jsr        [A5 - 0x46E8]
  5324. 00003852  4A6F 0134                tst.w      [A7 + 0x134]
  5325. 00003856  504F                     addq.w     A7, 8
  5326. 00003858  6644                     bne        +0x46 /* 0000389E */
  5327. 0000385A  0C6F FFFF 012A           cmpi.w     [A7 + 0x12A], 0xFFFF
  5328. 00003860  6606                     bne        +0x8 /* 00003868 */
  5329. 00003862  4A6F 012C                tst.w      [A7 + 0x12C]
  5330. 00003866  6F36                     ble        +0x38 /* 0000389E */
  5331. label00003868:
  5332. 00003868  3F3C 0001                move.w     -[A7], 0x1
  5333. 0000386C  42A7                     clr.l      -[A7]
  5334. 0000386E  486F 0006                pea.l      [A7 + 0x6]
  5335. 00003872  4EAD B8F8                jsr        [A5 - 0x4708]
  5336. 00003876  486F 000A                pea.l      [A7 + 0xA]
  5337. 0000387A  2F2F 0158                move.l     -[A7], [A7 + 0x158]
  5338. 0000387E  2F2F 0140                move.l     -[A7], [A7 + 0x140]
  5339. 00003882  486F 0140                pea.l      [A7 + 0x140]
  5340. 00003886  4EBA FA56                jsr        [PC - 0x5AA /* 000032DE */]
  5341. 0000388A  42AF 0148                clr.l      [A7 + 0x148]
  5342. 0000388E  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  5343. 00003892  6014                     bra        +0x16 /* 000038A8 */
  5344. label00003894:
  5345. 00003894  486F 012A                pea.l      [A7 + 0x12A]
  5346. 00003898  4EAD AF08                jsr        [A5 - 0x50F8]
  5347. 0000389C  584F                     addq.w     A7, 4
  5348. label0000389E:
  5349. 0000389E  2F2F 012E                move.l     -[A7], [A7 + 0x12E]
  5350. 000038A2  4EAD C260                jsr        [A5 - 0x3DA0]
  5351. 000038A6  584F                     addq.w     A7, 4
  5352. label000038A8:
  5353. 000038A8  0C6F 0001 0128           cmpi.w     [A7 + 0x128], 0x1
  5354. 000038AE  6F1A                     ble        +0x1C /* 000038CA */
  5355. 000038B0  0C6F 0008 0128           cmpi.w     [A7 + 0x128], 0x8
  5356. 000038B6  6E12                     bgt        +0x14 /* 000038CA */
  5357. 000038B8  3F2F 0128                move.w     -[A7], [A7 + 0x128]
  5358. 000038BC  2F2F 012C                move.l     -[A7], [A7 + 0x12C]
  5359. 000038C0  4EAD AA60                jsr        [A5 - 0x55A0]
  5360. 000038C4  2F48 0134                move.l     [A7 + 0x134], A0
  5361. 000038C8  5C4F                     addq.w     A7, 6
  5362. label000038CA:
  5363. 000038CA  42A7                     clr.l      -[A7]
  5364. 000038CC  1F03                     move.b     -[A7], D3
  5365. 000038CE  1F04                     move.b     -[A7], D4
  5366. 000038D0  2F2F 0136                move.l     -[A7], [A7 + 0x136]
  5367. 000038D4  3F2F 0134                move.w     -[A7], [A7 + 0x134]
  5368. 000038D8  486F 0124                pea.l      [A7 + 0x124]
  5369. 000038DC  1F05                     move.b     -[A7], D5
  5370. 000038DE  2F2F 0162                move.l     -[A7], [A7 + 0x162]
  5371. 000038E2  4EBA FC60                jsr        [PC - 0x3A0 /* 00003544 */]
  5372. 000038E6  4A6D 1C10                tst.w      [A5 + 0x1C10]
  5373. 000038EA  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5374. 000038EE  661C                     bne        +0x1E /* 0000390C */
  5375. 000038F0  1F3C 0001                move.b     -[A7], 0x1
  5376. 000038F4  2F2F 0158                move.l     -[A7], [A7 + 0x158]
  5377. 000038F8  2F2F 0130                move.l     -[A7], [A7 + 0x130]
  5378. 000038FC  486F 0120                pea.l      [A7 + 0x120]
  5379. 00003900  2F2F 0158                move.l     -[A7], [A7 + 0x158]
  5380. 00003904  4EBA FA48                jsr        [PC - 0x5B8 /* 0000334E */]
  5381. 00003908  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5382. label0000390C:
  5383. 0000390C  302D 1C10                move.w     D0, [A5 + 0x1C10]
  5384. 00003910  4FEF 0132                lea.l      A7, [A7 + 0x132]
  5385. 00003914  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5386. 00003918  4E75                     rts
  5387. 0000391A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5388. 0000391E  266F 0028                movea.l    A3, [A7 + 0x28]
  5389. 00003922  246F 002C                movea.l    A2, [A7 + 0x2C]
  5390. 00003926  2E2F 0030                move.l     D7, [A7 + 0x30]
  5391. 0000392A  2C2F 0034                move.l     D6, [A7 + 0x34]
  5392. 0000392E  3A2F 0038                move.w     D5, [A7 + 0x38]
  5393. 00003932  282F 003A                move.l     D4, [A7 + 0x3A]
  5394. 00003936  302B 0004                move.w     D0, [A3 + 0x4]
  5395. 0000393A  0280 0000 C000           andi.l     D0, 0xC000
  5396. 00003940  0C80 0000 C000           cmpi.l     D0, 0xC000
  5397. 00003946  6604                     bne        +0x6 /* 0000394C */
  5398. 00003948  2053                     movea.l    A0, [A3]
  5399. 0000394A  2650                     movea.l    A3, [A0]
  5400. label0000394C:
  5401. 0000394C  302A 0004                move.w     D0, [A2 + 0x4]
  5402. 00003950  0280 0000 C000           andi.l     D0, 0xC000
  5403. 00003956  0C80 0000 C000           cmpi.l     D0, 0xC000
  5404. 0000395C  6604                     bne        +0x6 /* 00003962 */
  5405. 0000395E  2052                     movea.l    A0, [A2]
  5406. 00003960  2450                     movea.l    A2, [A0]
  5407. label00003962:
  5408. 00003962  4A6B 0004                tst.w      [A3 + 0x4]
  5409. 00003966  6C76                     bge        +0x78 /* 000039DE */
  5410. 00003968  4A6A 0004                tst.w      [A2 + 0x4]
  5411. 0000396C  6C70                     bge        +0x72 /* 000039DE */
  5412. 0000396E  2C4B                     movea.l    A6, A3
  5413. 00003970  284A                     movea.l    A4, A2
  5414. 00003972  302E 0020                move.w     D0, [A6 + 0x20]
  5415. 00003976  B06C 0020                cmp.w      D0, [A4 + 0x20]
  5416. 0000397A  6662                     bne        +0x64 /* 000039DE */
  5417. 0000397C  0C6E 0001 0020           cmpi.w     [A6 + 0x20], 0x1
  5418. 00003982  6F5A                     ble        +0x5C /* 000039DE */
  5419. 00003984  0C6E 0008 0020           cmpi.w     [A6 + 0x20], 0x8
  5420. 0000398A  6E52                     bgt        +0x54 /* 000039DE */
  5421. 0000398C  286E 002A                movea.l    A4, [A6 + 0x2A]
  5422. 00003990  594F                     subq.w     A7, 4
  5423. 00003992  AA32                     syscall    GetGDevice
  5424. 00003994  205F                     movea.l    A0, [A7]+
  5425. 00003996  2050                     movea.l    A0, [A0]
  5426. 00003998  2068 0016                movea.l    A0, [A0 + 0x16]
  5427. 0000399C  2050                     movea.l    A0, [A0]
  5428. 0000399E  2C68 002A                movea.l    A6, [A0 + 0x2A]
  5429. 000039A2  2054                     movea.l    A0, [A4]
  5430. 000039A4  2610                     move.l     D3, [A0]
  5431. 000039A6  2F0E                     move.l     -[A7], A6
  5432. 000039A8  2F0C                     move.l     -[A7], A4
  5433. 000039AA  4EAD B910                jsr        [A5 - 0x46F0]
  5434. 000039AE  4A00                     tst.b      D0
  5435. 000039B0  504F                     addq.w     A7, 8
  5436. 000039B2  6708                     beq        +0xA /* 000039BC */
  5437. 000039B4  2056                     movea.l    A0, [A6]
  5438. 000039B6  2254                     movea.l    A1, [A4]
  5439. 000039B8  2290                     move.l     [A1], [A0]
  5440. 000039BA  600A                     bra        +0xC /* 000039C6 */
  5441. label000039BC:
  5442. 000039BC  2056                     movea.l    A0, [A6]
  5443. 000039BE  2010                     move.l     D0, [A0]
  5444. 000039C0  5280                     addq.l     D0, 1
  5445. 000039C2  2054                     movea.l    A0, [A4]
  5446. 000039C4  2080                     move.l     [A0], D0
  5447. label000039C6:
  5448. 000039C6  2F0B                     move.l     -[A7], A3
  5449. 000039C8  2F0A                     move.l     -[A7], A2
  5450. 000039CA  2F07                     move.l     -[A7], D7
  5451. 000039CC  2F06                     move.l     -[A7], D6
  5452. 000039CE  3F05                     move.w     -[A7], D5
  5453. 000039D0  2F04                     move.l     -[A7], D4
  5454. 000039D2  A8EC                     syscall    CopyBits
  5455. 000039D4  2054                     movea.l    A0, [A4]
  5456. 000039D6  2083                     move.l     [A0], D3
  5457. 000039D8  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5458. 000039DC  4E75                     rts
  5459. label000039DE:
  5460. 000039DE  2F0B                     move.l     -[A7], A3
  5461. 000039E0  2F0A                     move.l     -[A7], A2
  5462. 000039E2  2F07                     move.l     -[A7], D7
  5463. 000039E4  2F06                     move.l     -[A7], D6
  5464. 000039E6  3F05                     move.w     -[A7], D5
  5465. 000039E8  2F04                     move.l     -[A7], D4
  5466. 000039EA  A8EC                     syscall    CopyBits
  5467. 000039EC  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5468. 000039F0  4E75                     rts
  5469. fn000039F2:
  5470. 000039F2  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5471. 000039F6  4FEF FFDE                lea.l      A7, [A7 - 0x22]
  5472. 000039FA  3F7C 0001 0020           move.w     [A7 + 0x20], 0x1
  5473. 00003A00  206F 004A                movea.l    A0, [A7 + 0x4A]
  5474. 00003A04  2050                     movea.l    A0, [A0]
  5475. 00003A06  2F50 0012                move.l     [A7 + 0x12], [A0]
  5476. 00003A0A  2C6F 004A                movea.l    A6, [A7 + 0x4A]
  5477. 00003A0E  588E                     addq.l     A6, 4
  5478. 00003A10  3A2E 0004                move.w     D5, [A6 + 0x4]
  5479. 00003A14  3005                     move.w     D0, D5
  5480. 00003A16  0280 0000 8000           andi.l     D0, 0x8000
  5481. 00003A1C  4A80                     tst.l      D0
  5482. 00003A1E  6E04                     bgt        +0x6 /* 00003A24 */
  5483. 00003A20  7000                     moveq.l    D0, 0x00
  5484. 00003A22  6002                     bra        +0x4 /* 00003A26 */
  5485. label00003A24:
  5486. 00003A24  7001                     moveq.l    D0, 0x01
  5487. label00003A26:
  5488. 00003A26  1F40 0001                move.b     [A7 + 0x1], D0
  5489. 00003A2A  4A2F 0001                tst.b      [A7 + 0x1]
  5490. 00003A2E  6732                     beq        +0x34 /* 00003A62 */
  5491. 00003A30  2056                     movea.l    A0, [A6]
  5492. 00003A32  2450                     movea.l    A2, [A0]
  5493. 00003A34  4A6A 0010                tst.w      [A2 + 0x10]
  5494. 00003A38  6600 0350                bne        +0x352 /* 00003D8A */
  5495. 00003A3C  4A6A 001E                tst.w      [A2 + 0x1E]
  5496. 00003A40  670E                     beq        +0x10 /* 00003A50 */
  5497. 00003A42  2F2F 004A                move.l     -[A7], [A7 + 0x4A]
  5498. 00003A46  4EAD AA20                jsr        [A5 - 0x55E0]
  5499. 00003A4A  584F                     addq.w     A7, 4
  5500. 00003A4C  6000 033C                bra        +0x33E /* 00003D8A */
  5501. label00003A50:
  5502. 00003A50  2C4A                     movea.l    A6, A2
  5503. 00003A52  3A2A 0004                move.w     D5, [A2 + 0x4]
  5504. 00003A56  0285 0000 3FFF           andi.l     D5, 0x3FFF
  5505. 00003A5C  3F6A 0020 0020           move.w     [A7 + 0x20], [A2 + 0x20]
  5506. label00003A62:
  5507. 00003A62  302F 0020                move.w     D0, [A7 + 0x20]
  5508. 00003A66  48C0                     ext.l      D0
  5509. 00003A68  5380                     subq.l     D0, 1
  5510. 00003A6A  41ED 8ACA                lea.l      A0, [A5 - 0x7536]
  5511. 00003A6E  3F70 0A00 0010           move.w     [A7 + 0x10], [A0 + D0 * 2]
  5512. 00003A74  302F 0010                move.w     D0, [A7 + 0x10]
  5513. 00003A78  48C0                     ext.l      D0
  5514. 00003A7A  7201                     moveq.l    D1, 0x01
  5515. 00003A7C  E1A9                     lsl        D1, D0
  5516. 00003A7E  5381                     subq.l     D1, 1
  5517. 00003A80  3F41 0006                move.w     [A7 + 0x6], D1
  5518. 00003A84  302E 0006                move.w     D0, [A6 + 0x6]
  5519. 00003A88  48C0                     ext.l      D0
  5520. 00003A8A  362E 000A                move.w     D3, [A6 + 0xA]
  5521. 00003A8E  48C3                     ext.l      D3
  5522. 00003A90  9680                     sub.l      D3, D0
  5523. 00003A92  7000                     moveq.l    D0, 0x00
  5524. 00003A94  3005                     move.w     D0, D5
  5525. 00003A96  3043                     movea.w    A0, D3
  5526. 00003A98  2208                     move.l     D1, A0
  5527. 00003A9A  4C01 0800                movem.w    A3, D1
  5528. 00003A9E  2F40 0016                move.l     [A7 + 0x16], D0
  5529. 00003AA2  4A80                     tst.l      D0
  5530. 00003AA4  6610                     bne        +0x12 /* 00003AB6 */
  5531. 00003AA6  42AE 0006                clr.l      [A6 + 0x6]
  5532. 00003AAA  42AE 000A                clr.l      [A6 + 0xA]
  5533. 00003AAE  42AF 0008                clr.l      [A7 + 0x8]
  5534. 00003AB2  6000 02A6                bra        +0x2A8 /* 00003D5A */
  5535. label00003AB6:
  5536. 00003AB6  246F 0012                movea.l    A2, [A7 + 0x12]
  5537. 00003ABA  2E2F 0016                move.l     D7, [A7 + 0x16]
  5538. 00003ABE  6006                     bra        +0x8 /* 00003AC6 */
  5539. label00003AC0:
  5540. 00003AC0  4A5A                     tst.w      [A2]+
  5541. 00003AC2  6606                     bne        +0x8 /* 00003ACA */
  5542. 00003AC4  5587                     subq.l     D7, 2
  5543. label00003AC6:
  5544. 00003AC6  4A87                     tst.l      D7
  5545. 00003AC8  6EF6                     bgt        -0x8 /* 00003AC0 */
  5546. label00003ACA:
  5547. 00003ACA  4A87                     tst.l      D7
  5548. 00003ACC  6E10                     bgt        +0x12 /* 00003ADE */
  5549. 00003ACE  42AE 0006                clr.l      [A6 + 0x6]
  5550. 00003AD2  42AE 000A                clr.l      [A6 + 0xA]
  5551. 00003AD6  42AF 0008                clr.l      [A7 + 0x8]
  5552. 00003ADA  6000 027E                bra        +0x280 /* 00003D5A */
  5553. label00003ADE:
  5554. 00003ADE  7000                     moveq.l    D0, 0x00
  5555. 00003AE0  3005                     move.w     D0, D5
  5556. 00003AE2  222F 0016                move.l     D1, [A7 + 0x16]
  5557. 00003AE6  9287                     sub.l      D1, D7
  5558. 00003AE8  4C40 1801                movem.l    D0,A3,A4, D0
  5559. 00003AEC  3F41 0002                move.w     [A7 + 0x2], D1
  5560. 00003AF0  246F 0012                movea.l    A2, [A7 + 0x12]
  5561. 00003AF4  D5EF 0016                add.l      A2, [A7 + 0x16]
  5562. 00003AF8  2E2F 0016                move.l     D7, [A7 + 0x16]
  5563. 00003AFC  6006                     bra        +0x8 /* 00003B04 */
  5564. label00003AFE:
  5565. 00003AFE  4A62                     tst.w      -[A2]
  5566. 00003B00  6606                     bne        +0x8 /* 00003B08 */
  5567. 00003B02  5587                     subq.l     D7, 2
  5568. label00003B04:
  5569. 00003B04  4A87                     tst.l      D7
  5570. 00003B06  6EF6                     bgt        -0x8 /* 00003AFE */
  5571. label00003B08:
  5572. 00003B08  7000                     moveq.l    D0, 0x00
  5573. 00003B0A  3005                     move.w     D0, D5
  5574. 00003B0C  2607                     move.l     D3, D7
  5575. 00003B0E  5383                     subq.l     D3, 1
  5576. 00003B10  4C40 3803                movem.l    D0,D1,A3,A4,A5, D0
  5577. 00003B14  5283                     addq.l     D3, 1
  5578. 00003B16  302F 0002                move.w     D0, [A7 + 0x2]
  5579. 00003B1A  48C0                     ext.l      D0
  5580. 00003B1C  3203                     move.w     D1, D3
  5581. 00003B1E  48C1                     ext.l      D1
  5582. 00003B20  9280                     sub.l      D1, D0
  5583. 00003B22  3F41 001E                move.w     [A7 + 0x1E], D1
  5584. 00003B26  7000                     moveq.l    D0, 0x00
  5585. 00003B28  3005                     move.w     D0, D5
  5586. 00003B2A  366F 0002                movea.w    A3, [A7 + 0x2]
  5587. 00003B2E  220B                     move.l     D1, A3
  5588. 00003B30  4C01 0800                movem.w    A3, D1
  5589. 00003B34  266F 0012                movea.l    A3, [A7 + 0x12]
  5590. 00003B38  D7C0                     add.l      A3, D0
  5591. 00003B3A  7C00                     moveq.l    D6, 0x00
  5592. 00003B3C  7800                     moveq.l    D4, 0x00
  5593. label00003B3E:
  5594. 00003B3E  244B                     movea.l    A2, A3
  5595. 00003B40  D4C6                     add.w      A2, D6
  5596. 00003B42  362F 001E                move.w     D3, [A7 + 0x1E]
  5597. 00003B46  600E                     bra        +0x10 /* 00003B56 */
  5598. label00003B48:
  5599. 00003B48  8852                     or.w       D4, [A2]
  5600. 00003B4A  5343                     subq.w     D3, 1
  5601. 00003B4C  7000                     moveq.l    D0, 0x00
  5602. 00003B4E  3005                     move.w     D0, D5
  5603. 00003B50  204A                     movea.l    A0, A2
  5604. 00003B52  D1C0                     add.l      A0, D0
  5605. 00003B54  2448                     movea.l    A2, A0
  5606. label00003B56:
  5607. 00003B56  4A43                     tst.w      D3
  5608. 00003B58  66EE                     bne        -0x10 /* 00003B48 */
  5609. 00003B5A  4A44                     tst.w      D4
  5610. 00003B5C  6604                     bne        +0x6 /* 00003B62 */
  5611. 00003B5E  5446                     addq.w     D6, 2
  5612. 00003B60  60DC                     bra        -0x22 /* 00003B3E */
  5613. label00003B62:
  5614. 00003B62  362F 0020                move.w     D3, [A7 + 0x20]
  5615. 00003B66  48C3                     ext.l      D3
  5616. 00003B68  7210                     moveq.l    D1, 0x10
  5617. 00003B6A  9283                     sub.l      D1, D3
  5618. 00003B6C  263C 0000 FFFF           move.l     D3, 0xFFFF
  5619. 00003B72  E3AB                     lsl        D3, D1
  5620. 00003B74  7E00                     moveq.l    D7, 0x00
  5621. 00003B76  6008                     bra        +0xA /* 00003B80 */
  5622. label00003B78:
  5623. 00003B78  5247                     addq.w     D7, 1
  5624. 00003B7A  302F 0020                move.w     D0, [A7 + 0x20]
  5625. 00003B7E  E063                     asr        D3.w, D0
  5626. label00003B80:
  5627. 00003B80  3004                     move.w     D0, D4
  5628. 00003B82  48C0                     ext.l      D0
  5629. 00003B84  3203                     move.w     D1, D3
  5630. 00003B86  48C1                     ext.l      D1
  5631. 00003B88  C280                     and.l      D1, D0
  5632. 00003B8A  4A81                     tst.l      D1
  5633. 00003B8C  67EA                     beq        -0x14 /* 00003B78 */
  5634. 00003B8E  302F 0010                move.w     D0, [A7 + 0x10]
  5635. 00003B92  48C0                     ext.l      D0
  5636. 00003B94  3206                     move.w     D1, D6
  5637. 00003B96  48C1                     ext.l      D1
  5638. 00003B98  E1A9                     lsl        D1, D0
  5639. 00003B9A  3007                     move.w     D0, D7
  5640. 00003B9C  48C0                     ext.l      D0
  5641. 00003B9E  D081                     add.l      D0, D1
  5642. 00003BA0  3F40 000E                move.w     [A7 + 0xE], D0
  5643. 00003BA4  7C00                     moveq.l    D6, 0x00
  5644. 00003BA6  3C05                     move.w     D6, D5
  5645. 00003BA8  5586                     subq.l     D6, 2
  5646. 00003BAA  7800                     moveq.l    D4, 0x00
  5647. label00003BAC:
  5648. 00003BAC  244B                     movea.l    A2, A3
  5649. 00003BAE  D4C6                     add.w      A2, D6
  5650. 00003BB0  362F 001E                move.w     D3, [A7 + 0x1E]
  5651. 00003BB4  600E                     bra        +0x10 /* 00003BC4 */
  5652. label00003BB6:
  5653. 00003BB6  8852                     or.w       D4, [A2]
  5654. 00003BB8  5343                     subq.w     D3, 1
  5655. 00003BBA  7000                     moveq.l    D0, 0x00
  5656. 00003BBC  3005                     move.w     D0, D5
  5657. 00003BBE  204A                     movea.l    A0, A2
  5658. 00003BC0  D1C0                     add.l      A0, D0
  5659. 00003BC2  2448                     movea.l    A2, A0
  5660. label00003BC4:
  5661. 00003BC4  4A43                     tst.w      D3
  5662. 00003BC6  66EE                     bne        -0x10 /* 00003BB6 */
  5663. 00003BC8  4A44                     tst.w      D4
  5664. 00003BCA  6604                     bne        +0x6 /* 00003BD0 */
  5665. 00003BCC  5546                     subq.w     D6, 2
  5666. 00003BCE  60DC                     bra        -0x22 /* 00003BAC */
  5667. label00003BD0:
  5668. 00003BD0  362F 0020                move.w     D3, [A7 + 0x20]
  5669. 00003BD4  48C3                     ext.l      D3
  5670. 00003BD6  7210                     moveq.l    D1, 0x10
  5671. 00003BD8  9283                     sub.l      D1, D3
  5672. 00003BDA  263C 0000 FFFF           move.l     D3, 0xFFFF
  5673. 00003BE0  E2A3                     asr        D3, D1
  5674. 00003BE2  3E2F 0006                move.w     D7, [A7 + 0x6]
  5675. 00003BE6  48C7                     ext.l      D7
  5676. 00003BE8  5287                     addq.l     D7, 1
  5677. 00003BEA  DE87                     add.l      D7, D7
  5678. 00003BEC  6008                     bra        +0xA /* 00003BF6 */
  5679. label00003BEE:
  5680. 00003BEE  5347                     subq.w     D7, 1
  5681. 00003BF0  302F 0020                move.w     D0, [A7 + 0x20]
  5682. 00003BF4  E16B                     lsl        D3.w, D0
  5683. label00003BF6:
  5684. 00003BF6  3004                     move.w     D0, D4
  5685. 00003BF8  48C0                     ext.l      D0
  5686. 00003BFA  3203                     move.w     D1, D3
  5687. 00003BFC  48C1                     ext.l      D1
  5688. 00003BFE  C280                     and.l      D1, D0
  5689. 00003C00  4A81                     tst.l      D1
  5690. 00003C02  67EA                     beq        -0x14 /* 00003BEE */
  5691. 00003C04  362F 0010                move.w     D3, [A7 + 0x10]
  5692. 00003C08  48C3                     ext.l      D3
  5693. 00003C0A  3206                     move.w     D1, D6
  5694. 00003C0C  48C1                     ext.l      D1
  5695. 00003C0E  E7A9                     lsl        D1, D3
  5696. 00003C10  3607                     move.w     D3, D7
  5697. 00003C12  48C3                     ext.l      D3
  5698. 00003C14  D681                     add.l      D3, D1
  5699. 00003C16  302F 000E                move.w     D0, [A7 + 0xE]
  5700. 00003C1A  48C0                     ext.l      D0
  5701. 00003C1C  3203                     move.w     D1, D3
  5702. 00003C1E  48C1                     ext.l      D1
  5703. 00003C20  9280                     sub.l      D1, D0
  5704. 00003C22  3F41 0004                move.w     [A7 + 0x4], D1
  5705. 00003C26  302F 0010                move.w     D0, [A7 + 0x10]
  5706. 00003C2A  48C0                     ext.l      D0
  5707. 00003C2C  322F 0006                move.w     D1, [A7 + 0x6]
  5708. 00003C30  48C1                     ext.l      D1
  5709. 00003C32  342F 0004                move.w     D2, [A7 + 0x4]
  5710. 00003C36  48C2                     ext.l      D2
  5711. 00003C38  D481                     add.l      D2, D1
  5712. 00003C3A  E0A2                     asr        D2, D0
  5713. 00003C3C  5282                     addq.l     D2, 1
  5714. 00003C3E  0282 0000 FFFE           andi.l     D2, 0xFFFE
  5715. 00003C44  3F42 000C                move.w     [A7 + 0xC], D2
  5716. 00003C48  3002                     move.w     D0, D2
  5717. 00003C4A  C1EF 001E                muls.w     D0, [A7 + 0x1E]
  5718. 00003C4E  2F40 0008                move.l     [A7 + 0x8], D0
  5719. 00003C52  B0AF 0016                cmp.l      D0, [A7 + 0x16]
  5720. 00003C56  661A                     bne        +0x1C /* 00003C72 */
  5721. 00003C58  302E 0008                move.w     D0, [A6 + 0x8]
  5722. 00003C5C  48C0                     ext.l      D0
  5723. 00003C5E  322E 000C                move.w     D1, [A6 + 0xC]
  5724. 00003C62  48C1                     ext.l      D1
  5725. 00003C64  9280                     sub.l      D1, D0
  5726. 00003C66  302F 0004                move.w     D0, [A7 + 0x4]
  5727. 00003C6A  48C0                     ext.l      D0
  5728. 00003C6C  B081                     cmp.l      D0, D1
  5729. 00003C6E  6700 011A                beq        +0x11C /* 00003D8A */
  5730. label00003C72:
  5731. 00003C72  3C2F 0006                move.w     D6, [A7 + 0x6]
  5732. 00003C76  48C6                     ext.l      D6
  5733. 00003C78  DC86                     add.l      D6, D6
  5734. 00003C7A  5286                     addq.l     D6, 1
  5735. 00003C7C  322F 000E                move.w     D1, [A7 + 0xE]
  5736. 00003C80  48C1                     ext.l      D1
  5737. 00003C82  C286                     and.l      D1, D6
  5738. 00003C84  3C2F 0020                move.w     D6, [A7 + 0x20]
  5739. 00003C88  48C6                     ext.l      D6
  5740. 00003C8A  4C01 6800                movem.w    A3,A5,A6, D1
  5741. 00003C8E  302F 0010                move.w     D0, [A7 + 0x10]
  5742. 00003C92  48C0                     ext.l      D0
  5743. 00003C94  5280                     addq.l     D0, 1
  5744. 00003C96  322F 000E                move.w     D1, [A7 + 0xE]
  5745. 00003C9A  48C1                     ext.l      D1
  5746. 00003C9C  E0A1                     asr        D1, D0
  5747. 00003C9E  D281                     add.l      D1, D1
  5748. 00003CA0  244B                     movea.l    A2, A3
  5749. 00003CA2  D5C1                     add.l      A2, D1
  5750. 00003CA4  266F 0012                movea.l    A3, [A7 + 0x12]
  5751. 00003CA8  284B                     movea.l    A4, A3
  5752. 00003CAA  D9EF 0016                add.l      A4, [A7 + 0x16]
  5753. 00003CAE  302F 000C                move.w     D0, [A7 + 0xC]
  5754. 00003CB2  48C0                     ext.l      D0
  5755. 00003CB4  E280                     asr        D0, 1
  5756. 00003CB6  3F40 001C                move.w     [A7 + 0x1C], D0
  5757. 00003CBA  302F 000C                move.w     D0, [A7 + 0xC]
  5758. 00003CBE  48C0                     ext.l      D0
  5759. 00003CC0  7200                     moveq.l    D1, 0x00
  5760. 00003CC2  3205                     move.w     D1, D5
  5761. 00003CC4  9280                     sub.l      D1, D0
  5762. 00003CC6  5581                     subq.l     D1, 2
  5763. 00003CC8  3F41 001A                move.w     [A7 + 0x1A], D1
  5764. 00003CCC  306F 001E                movea.w    A0, [A7 + 0x1E]
  5765. 00003CD0  2E08                     move.l     D7, A0
  5766. 00003CD2  6048                     bra        +0x4A /* 00003D1C */
  5767. label00003CD4:
  5768. 00003CD4  382F 001C                move.w     D4, [A7 + 0x1C]
  5769. 00003CD8  3612                     move.w     D3, [A2]
  5770. 00003CDA  548A                     addq.l     A2, 2
  5771. 00003CDC  6034                     bra        +0x36 /* 00003D12 */
  5772. label00003CDE:
  5773. 00003CDE  3A03                     move.w     D5, D3
  5774. 00003CE0  B5CC                     cmpa.l     A2, A4
  5775. 00003CE2  6406                     bcc        +0x8 /* 00003CEA */
  5776. 00003CE4  7000                     moveq.l    D0, 0x00
  5777. 00003CE6  3012                     move.w     D0, [A2]
  5778. 00003CE8  6002                     bra        +0x4 /* 00003CEC */
  5779. label00003CEA:
  5780. 00003CEA  7000                     moveq.l    D0, 0x00
  5781. label00003CEC:
  5782. 00003CEC  3600                     move.w     D3, D0
  5783. 00003CEE  548A                     addq.l     A2, 2
  5784. 00003CF0  3006                     move.w     D0, D6
  5785. 00003CF2  48C0                     ext.l      D0
  5786. 00003CF4  7200                     moveq.l    D1, 0x00
  5787. 00003CF6  3205                     move.w     D1, D5
  5788. 00003CF8  7410                     moveq.l    D2, 0x10
  5789. 00003CFA  E5A9                     lsl        D1, D2
  5790. 00003CFC  7400                     moveq.l    D2, 0x00
  5791. 00003CFE  3403                     move.w     D2, D3
  5792. 00003D00  8481                     or.l       D2, D1
  5793. 00003D02  E1AA                     lsl        D2, D0
  5794. 00003D04  7010                     moveq.l    D0, 0x10
  5795. 00003D06  E0AA                     lsr        D2, D0
  5796. 00003D08  0282 0000 FFFF           andi.l     D2, 0xFFFF
  5797. 00003D0E  36C2                     move.w     [A3]+, D2
  5798. 00003D10  5344                     subq.w     D4, 1
  5799. label00003D12:
  5800. 00003D12  4A44                     tst.w      D4
  5801. 00003D14  66C8                     bne        -0x36 /* 00003CDE */
  5802. 00003D16  5387                     subq.l     D7, 1
  5803. 00003D18  D4EF 001A                add.w      A2, [A7 + 0x1A]
  5804. label00003D1C:
  5805. 00003D1C  4A87                     tst.l      D7
  5806. 00003D1E  66B4                     bne        -0x4A /* 00003CD4 */
  5807. 00003D20  302F 0002                move.w     D0, [A7 + 0x2]
  5808. 00003D24  D16E 0006                add.w      [A6 + 0x6], D0
  5809. 00003D28  302F 001E                move.w     D0, [A7 + 0x1E]
  5810. 00003D2C  48C0                     ext.l      D0
  5811. 00003D2E  322E 0006                move.w     D1, [A6 + 0x6]
  5812. 00003D32  48C1                     ext.l      D1
  5813. 00003D34  D280                     add.l      D1, D0
  5814. 00003D36  3D41 000A                move.w     [A6 + 0xA], D1
  5815. 00003D3A  302F 000E                move.w     D0, [A7 + 0xE]
  5816. 00003D3E  D16E 0008                add.w      [A6 + 0x8], D0
  5817. 00003D42  302F 0004                move.w     D0, [A7 + 0x4]
  5818. 00003D46  48C0                     ext.l      D0
  5819. 00003D48  322E 0008                move.w     D1, [A6 + 0x8]
  5820. 00003D4C  48C1                     ext.l      D1
  5821. 00003D4E  D280                     add.l      D1, D0
  5822. 00003D50  3D41 000C                move.w     [A6 + 0xC], D1
  5823. 00003D54  3D6F 000C 0004           move.w     [A6 + 0x4], [A7 + 0xC]
  5824. label00003D5A:
  5825. 00003D5A  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  5826. 00003D5E  2F2F 004E                move.l     -[A7], [A7 + 0x4E]
  5827. 00003D62  4EAD C270                jsr        [A5 - 0x3D90]
  5828. 00003D66  4A2F 0009                tst.b      [A7 + 0x9]
  5829. 00003D6A  504F                     addq.w     A7, 8
  5830. 00003D6C  671C                     beq        +0x1E /* 00003D8A */
  5831. 00003D6E  006E 8000 0004           ori.w      [A6 + 0x4], 0x8000
  5832. 00003D74  206F 004A                movea.l    A0, [A7 + 0x4A]
  5833. 00003D78  316E 0004 0008           move.w     [A0 + 0x8], [A6 + 0x4]
  5834. 00003D7E  216E 0006 000A           move.l     [A0 + 0xA], [A6 + 0x6]
  5835. 00003D84  216E 000A 000E           move.l     [A0 + 0xE], [A6 + 0xA]
  5836. label00003D8A:
  5837. 00003D8A  4FEF 0022                lea.l      A7, [A7 + 0x22]
  5838. 00003D8E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5839. 00003D92  4E74 0004                rtd        0x0004
  5840. fn00003D96:
  5841. 00003D96  2F0A                     move.l     -[A7], A2
  5842. 00003D98  246F 0008                movea.l    A2, [A7 + 0x8]
  5843. 00003D9C  2052                     movea.l    A0, [A2]
  5844. 00003D9E  A02A                     syscall    HUnlock
  5845. 00003DA0  4A6A 0008                tst.w      [A2 + 0x8]
  5846. 00003DA4  6C0E                     bge        +0x10 /* 00003DB4 */
  5847. 00003DA6  206A 0004                movea.l    A0, [A2 + 0x4]
  5848. 00003DAA  2050                     movea.l    A0, [A0]
  5849. 00003DAC  20BC FFF0 0000           move.l     [A0], 0xFFF00000
  5850. 00003DB2  601A                     bra        +0x1C /* 00003DCE */
  5851. label00003DB4:
  5852. 00003DB4  257C FFF0 0000 0004      move.l     [A2 + 0x4], 0xFFF00000
  5853. 00003DBC  4AAF 000C                tst.l      [A7 + 0xC]
  5854. 00003DC0  670C                     beq        +0xE /* 00003DCE */
  5855. 00003DC2  206F 000C                movea.l    A0, [A7 + 0xC]
  5856. 00003DC6  217C FFF0 0000 0002      move.l     [A0 + 0x2], 0xFFF00000
  5857. label00003DCE:
  5858. 00003DCE  245F                     movea.l    A2, [A7]+
  5859. 00003DD0  4E75                     rts
  5860. fn00003DD2:
  5861. 00003DD2  206F 0004                movea.l    A0, [A7 + 0x4]
  5862. 00003DD6  4A90                     tst.l      [A0]
  5863. 00003DD8  56C0                     sne        D0
  5864. 00003DDA  4400                     neg.b      D0
  5865. 00003DDC  49C0                     lea.l      A4, D0
  5866. 00003DDE  4E75                     rts
  5867. fn00003DE0:
  5868. 00003DE0  2F0A                     move.l     -[A7], A2
  5869. 00003DE2  246F 0008                movea.l    A2, [A7 + 0x8]
  5870. 00003DE6  2052                     movea.l    A0, [A2]
  5871. 00003DE8  A064                     syscall    MoveHHi
  5872. 00003DEA  2052                     movea.l    A0, [A2]
  5873. 00003DEC  A029                     syscall    HLock
  5874. 00003DEE  4A6A 0008                tst.w      [A2 + 0x8]
  5875. 00003DF2  6C10                     bge        +0x12 /* 00003E04 */
  5876. 00003DF4  2052                     movea.l    A0, [A2]
  5877. 00003DF6  2010                     move.l     D0, [A0]
  5878. 00003DF8  A055                     syscall    StripAddress
  5879. 00003DFA  206A 0004                movea.l    A0, [A2 + 0x4]
  5880. 00003DFE  2050                     movea.l    A0, [A0]
  5881. 00003E00  2080                     move.l     [A0], D0
  5882. 00003E02  601A                     bra        +0x1C /* 00003E1E */
  5883. label00003E04:
  5884. 00003E04  2052                     movea.l    A0, [A2]
  5885. 00003E06  2010                     move.l     D0, [A0]
  5886. 00003E08  A055                     syscall    StripAddress
  5887. 00003E0A  2540 0004                move.l     [A2 + 0x4], D0
  5888. 00003E0E  4AAF 000C                tst.l      [A7 + 0xC]
  5889. 00003E12  670A                     beq        +0xC /* 00003E1E */
  5890. 00003E14  206F 000C                movea.l    A0, [A7 + 0xC]
  5891. 00003E18  216A 0004 0002           move.l     [A0 + 0x2], [A2 + 0x4]
  5892. label00003E1E:
  5893. 00003E1E  245F                     movea.l    A2, [A7]+
  5894. 00003E20  4E75                     rts
  5895. fn00003E22:
  5896. 00003E22  206F 0004                movea.l    A0, [A7 + 0x4]
  5897. 00003E26  4A68 0008                tst.w      [A0 + 0x8]
  5898. 00003E2A  6C0C                     bge        +0xE /* 00003E38 */
  5899. 00003E2C  2068 0004                movea.l    A0, [A0 + 0x4]
  5900. 00003E30  2050                     movea.l    A0, [A0]
  5901. 00003E32  3028 0020                move.w     D0, [A0 + 0x20]
  5902. 00003E36  4E75                     rts
  5903. label00003E38:
  5904. 00003E38  7001                     moveq.l    D0, 0x01
  5905. 00003E3A  4E75                     rts
  5906. fn00003E3C:
  5907. 00003E3C  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  5908. 00003E40  246F 0018                movea.l    A2, [A7 + 0x18]
  5909. 00003E44  362F 001C                move.w     D3, [A7 + 0x1C]
  5910. 00003E48  4A2D 20A8                tst.b      [A5 + 0x20A8]
  5911. 00003E4C  6602                     bne        +0x4 /* 00003E50 */
  5912. 00003E4E  7601                     moveq.l    D3, 0x01
  5913. label00003E50:
  5914. 00003E50  554F                     subq.w     A7, 2
  5915. 00003E52  2F0A                     move.l     -[A7], A2
  5916. 00003E54  3F03                     move.w     -[A7], D3
  5917. 00003E56  4EAD C5D8                jsr        [A5 - 0x3A28]
  5918. 00003E5A  301F                     move.w     D0, [A7]+
  5919. 00003E5C  48C0                     ext.l      D0
  5920. 00003E5E  2800                     move.l     D4, D0
  5921. 00003E60  3012                     move.w     D0, [A2]
  5922. 00003E62  48C0                     ext.l      D0
  5923. 00003E64  3A2A 0004                move.w     D5, [A2 + 0x4]
  5924. 00003E68  48C5                     ext.l      D5
  5925. 00003E6A  9A80                     sub.l      D5, D0
  5926. 00003E6C  4C04 5800                movem.w    A3,A4,A6, D4
  5927. 00003E70  2F05                     move.l     -[A7], D5
  5928. 00003E72  3F03                     move.w     -[A7], D3
  5929. 00003E74  2F0A                     move.l     -[A7], A2
  5930. 00003E76  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  5931. 00003E7A  4EBA 000C                jsr        [PC + 0xC /* 00003E88 */]
  5932. 00003E7E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5933. 00003E82  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  5934. 00003E86  4E75                     rts
  5935. fn00003E88:
  5936. 00003E88  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  5937. 00003E8C  246F 001C                movea.l    A2, [A7 + 0x1C]
  5938. 00003E90  286F 0020                movea.l    A4, [A7 + 0x20]
  5939. 00003E94  3A2F 0024                move.w     D5, [A7 + 0x24]
  5940. 00003E98  7800                     moveq.l    D4, 0x00
  5941. 00003E9A  4A2D 20A8                tst.b      [A5 + 0x20A8]
  5942. 00003E9E  6602                     bne        +0x4 /* 00003EA2 */
  5943. 00003EA0  7A01                     moveq.l    D5, 0x01
  5944. label00003EA2:
  5945. 00003EA2  554F                     subq.w     A7, 2
  5946. 00003EA4  2F0C                     move.l     -[A7], A4
  5947. 00003EA6  3F05                     move.w     -[A7], D5
  5948. 00003EA8  4EAD C5D8                jsr        [A5 - 0x3A28]
  5949. 00003EAC  301F                     move.w     D0, [A7]+
  5950. 00003EAE  48C0                     ext.l      D0
  5951. 00003EB0  2600                     move.l     D3, D0
  5952. 00003EB2  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  5953. 00003EB6  4EAD C258                jsr        [A5 - 0x3DA8]
  5954. 00003EBA  2488                     move.l     [A2], A0
  5955. 00003EBC  4A92                     tst.l      [A2]
  5956. 00003EBE  584F                     addq.w     A7, 4
  5957. 00003EC0  676C                     beq        +0x6E /* 00003F2E */
  5958. 00003EC2  4A2D 20A8                tst.b      [A5 + 0x20A8]
  5959. 00003EC6  674E                     beq        +0x50 /* 00003F16 */
  5960. 00003EC8  3F05                     move.w     -[A7], D5
  5961. 00003ECA  4EAD AAA8                jsr        [A5 - 0x5558]
  5962. 00003ECE  2548 0004                move.l     [A2 + 0x4], A0
  5963. 00003ED2  206A 0004                movea.l    A0, [A2 + 0x4]
  5964. 00003ED6  2650                     movea.l    A3, [A0]
  5965. 00003ED8  7000                     moveq.l    D0, 0x00
  5966. 00003EDA  3003                     move.w     D0, D3
  5967. 00003EDC  0080 0000 8000           ori.l      D0, 0x8000
  5968. 00003EE2  3740 0004                move.w     [A3 + 0x4], D0
  5969. 00003EE6  2754 0006                move.l     [A3 + 0x6], [A4]
  5970. 00003EEA  276C 0004 000A           move.l     [A3 + 0xA], [A4 + 0x4]
  5971. 00003EF0  26BC FFF0 0000           move.l     [A3], 0xFFF00000
  5972. 00003EF6  3745 0020                move.w     [A3 + 0x20], D5
  5973. 00003EFA  7000                     moveq.l    D0, 0x00
  5974. 00003EFC  3003                     move.w     D0, D3
  5975. 00003EFE  0080 0000 C000           ori.l      D0, 0xC000
  5976. 00003F04  3540 0008                move.w     [A2 + 0x8], D0
  5977. 00003F08  2554 000A                move.l     [A2 + 0xA], [A4]
  5978. 00003F0C  256C 0004 000E           move.l     [A2 + 0xE], [A4 + 0x4]
  5979. 00003F12  544F                     addq.w     A7, 2
  5980. 00003F14  6028                     bra        +0x2A /* 00003F3E */
  5981. label00003F16:
  5982. 00003F16  257C FFF0 0000 0004      move.l     [A2 + 0x4], 0xFFF00000
  5983. 00003F1E  3543 0008                move.w     [A2 + 0x8], D3
  5984. 00003F22  2554 000A                move.l     [A2 + 0xA], [A4]
  5985. 00003F26  256C 0004 000E           move.l     [A2 + 0xE], [A4 + 0x4]
  5986. 00003F2C  6010                     bra        +0x12 /* 00003F3E */
  5987. label00003F2E:
  5988. 00003F2E  554F                     subq.w     A7, 2
  5989. 00003F30  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5990. 00003F34  301F                     move.w     D0, [A7]+
  5991. 00003F36  3800                     move.w     D4, D0
  5992. 00003F38  4A40                     tst.w      D0
  5993. 00003F3A  6602                     bne        +0x4 /* 00003F3E */
  5994. 00003F3C  78D7                     moveq.l    D4, 0xFFFFFFD7
  5995. label00003F3E:
  5996. 00003F3E  3004                     move.w     D0, D4
  5997. 00003F40  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5998. 00003F44  4E75                     rts
  5999. fn00003F46:
  6000. 00003F46  2F0A                     move.l     -[A7], A2
  6001. 00003F48  246F 0008                movea.l    A2, [A7 + 0x8]
  6002. 00003F4C  4A6A 0008                tst.w      [A2 + 0x8]
  6003. 00003F50  6C08                     bge        +0xA /* 00003F5A */
  6004. 00003F52  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  6005. 00003F56  AA06                     syscall    SetPortPix/SetCPortPix
  6006. 00003F58  6006                     bra        +0x8 /* 00003F60 */
  6007. label00003F5A:
  6008. 00003F5A  486A 0004                pea.l      [A2 + 0x4]
  6009. 00003F5E  A875                     syscall    SetPBits/SetPortBits
  6010. label00003F60:
  6011. 00003F60  245F                     movea.l    A2, [A7]+
  6012. 00003F62  4E75                     rts
  6013. fn00003F64:
  6014. 00003F64  4878 0012                push.l     0x12
  6015. 00003F68  42A7                     clr.l      -[A7]
  6016. 00003F6A  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6017. 00003F6E  4EAD 9E32                jsr        [A5 - 0x61CE]
  6018. 00003F72  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6019. 00003F76  4E75                     rts
  6020. fn00003F78:
  6021. 00003F78  2F0A                     move.l     -[A7], A2
  6022. 00003F7A  246F 0008                movea.l    A2, [A7 + 0x8]
  6023. 00003F7E  4A6A 0008                tst.w      [A2 + 0x8]
  6024. 00003F82  6C14                     bge        +0x16 /* 00003F98 */
  6025. 00003F84  206A 0004                movea.l    A0, [A2 + 0x4]
  6026. 00003F88  A069                     syscall    HGetState
  6027. 00003F8A  49C0                     lea.l      A4, D0
  6028. 00003F8C  206F 000C                movea.l    A0, [A7 + 0xC]
  6029. 00003F90  1080                     move.b     [A0], D0
  6030. 00003F92  206A 0004                movea.l    A0, [A2 + 0x4]
  6031. 00003F96  A029                     syscall    HLock
  6032. label00003F98:
  6033. 00003F98  245F                     movea.l    A2, [A7]+
  6034. 00003F9A  4E75                     rts
  6035. fn00003F9C:
  6036. 00003F9C  206F 0004                movea.l    A0, [A7 + 0x4]
  6037. 00003FA0  4A68 0008                tst.w      [A0 + 0x8]
  6038. 00003FA4  6C0E                     bge        +0x10 /* 00003FB4 */
  6039. 00003FA6  206F 0004                movea.l    A0, [A7 + 0x4]
  6040. 00003FAA  2068 0004                movea.l    A0, [A0 + 0x4]
  6041. 00003FAE  102F 0008                move.b     D0, [A7 + 0x8]
  6042. 00003FB2  A06A                     syscall    HSetState
  6043. label00003FB4:
  6044. 00003FB4  4E75                     rts
  6045. fn00003FB6:
  6046. 00003FB6  226F 0004                movea.l    A1, [A7 + 0x4]
  6047. 00003FBA  4A69 0008                tst.w      [A1 + 0x8]
  6048. 00003FBE  6C08                     bge        +0xA /* 00003FC8 */
  6049. 00003FC0  2069 0004                movea.l    A0, [A1 + 0x4]
  6050. 00003FC4  2050                     movea.l    A0, [A0]
  6051. 00003FC6  4E75                     rts
  6052. label00003FC8:
  6053. 00003FC8  2049                     movea.l    A0, A1
  6054. 00003FCA  5888                     addq.l     A0, 4
  6055. 00003FCC  4E75                     rts
  6056. fn00003FCE:
  6057. 00003FCE  2F0A                     move.l     -[A7], A2
  6058. 00003FD0  246F 0008                movea.l    A2, [A7 + 0x8]
  6059. 00003FD4  2F0A                     move.l     -[A7], A2
  6060. 00003FD6  4EAD BAC0                jsr        [A5 - 0x4540]
  6061. 00003FDA  4A6A 0008                tst.w      [A2 + 0x8]
  6062. 00003FDE  584F                     addq.w     A7, 4
  6063. 00003FE0  6C0A                     bge        +0xC /* 00003FEC */
  6064. 00003FE2  486A 0004                pea.l      [A2 + 0x4]
  6065. 00003FE6  4EAD AF28                jsr        [A5 - 0x50D8]
  6066. 00003FEA  584F                     addq.w     A7, 4
  6067. label00003FEC:
  6068. 00003FEC  2F0A                     move.l     -[A7], A2
  6069. 00003FEE  4EBA FF74                jsr        [PC - 0x8C /* 00003F64 */]
  6070. 00003FF2  584F                     addq.w     A7, 4
  6071. 00003FF4  245F                     movea.l    A2, [A7]+
  6072. 00003FF6  4E75                     rts
  6073. fn00003FF8:
  6074. 00003FF8  48E7 1020                movem.l    -[A7], D3,A2
  6075. 00003FFC  246F 000C                movea.l    A2, [A7 + 0xC]
  6076. 00004000  4878 0200                push.l     0x200
  6077. 00004004  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6078. 00004008  4EAD A8C0                jsr        [A5 - 0x5740]
  6079. 0000400C  3600                     move.w     D3, D0
  6080. 0000400E  4A43                     tst.w      D3
  6081. 00004010  504F                     addq.w     A7, 8
  6082. 00004012  6636                     bne        +0x38 /* 0000404A */
  6083. 00004014  4878 000A                push.l     0xA /* '\n' */
  6084. 00004018  2F0A                     move.l     -[A7], A2
  6085. 0000401A  4EAD C270                jsr        [A5 - 0x3D90]
  6086. 0000401E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6087. 00004022  301F                     move.w     D0, [A7]+
  6088. 00004024  3600                     move.w     D3, D0
  6089. 00004026  4A43                     tst.w      D3
  6090. 00004028  5C4F                     addq.w     A7, 6
  6091. 0000402A  661E                     bne        +0x20 /* 0000404A */
  6092. 0000402C  2052                     movea.l    A0, [A2]
  6093. 0000402E  A029                     syscall    HLock
  6094. 00004030  4878 000A                push.l     0xA /* '\n' */
  6095. 00004034  2052                     movea.l    A0, [A2]
  6096. 00004036  2F10                     move.l     -[A7], [A0]
  6097. 00004038  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6098. 0000403C  4EAD A8B0                jsr        [A5 - 0x5750]
  6099. 00004040  3600                     move.w     D3, D0
  6100. 00004042  2052                     movea.l    A0, [A2]
  6101. 00004044  A02A                     syscall    HUnlock
  6102. 00004046  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6103. label0000404A:
  6104. 0000404A  3003                     move.w     D0, D3
  6105. 0000404C  4CDF 0408                movem.l    D3,A2, [A7]+
  6106. 00004050  4E75                     rts
  6107. 00004052  306F 0004                movea.w    A0, [A7 + 0x4]
  6108. 00004056  2F08                     move.l     -[A7], A0
  6109. 00004058  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  6110. 0000405C  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6111. 00004060  4EAD A8B0                jsr        [A5 - 0x5750]
  6112. 00004064  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6113. 00004068  4E74 0006                rtd        0x0006
  6114. fn0000406C:
  6115. 0000406C  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  6116. 00004070  514F                     subq.w     A7, 8
  6117. 00004072  266F 0024                movea.l    A3, [A7 + 0x24]
  6118. 00004076  4293                     clr.l      [A3]
  6119. 00004078  42AD 123C                clr.l      [A5 + 0x123C]
  6120. 0000407C  486D 123C                pea.l      [A5 + 0x123C]
  6121. 00004080  1F3C 0001                move.b     -[A7], 0x1
  6122. 00004084  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  6123. 00004088  4EAD BC88                jsr        [A5 - 0x4378]
  6124. 0000408C  3600                     move.w     D3, D0
  6125. 0000408E  4A43                     tst.w      D3
  6126. 00004090  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6127. 00004094  6600 0146                bne        +0x148 /* 000041DC */
  6128. 00004098  4857                     pea.l      [A7]
  6129. 0000409A  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6130. 0000409E  4EAD A958                jsr        [A5 - 0x56A8]
  6131. 000040A2  3600                     move.w     D3, D0
  6132. 000040A4  4A43                     tst.w      D3
  6133. 000040A6  504F                     addq.w     A7, 8
  6134. 000040A8  6600 0122                bne        +0x124 /* 000041CC */
  6135. 000040AC  0C97 0000 020E           cmpi.l     [A7], 0x20E
  6136. 000040B2  6406                     bcc        +0x8 /* 000040BA */
  6137. 000040B4  7658                     moveq.l    D3, 0x58
  6138. 000040B6  6000 0114                bra        +0x116 /* 000041CC */
  6139. label000040BA:
  6140. 000040BA  7A0A                     moveq.l    D5, 0x0A
  6141. 000040BC  2F05                     move.l     -[A7], D5
  6142. 000040BE  4EAD C258                jsr        [A5 - 0x3DA8]
  6143. 000040C2  2688                     move.l     [A3], A0
  6144. 000040C4  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6145. 000040C8  301F                     move.w     D0, [A7]+
  6146. 000040CA  3600                     move.w     D3, D0
  6147. 000040CC  4A43                     tst.w      D3
  6148. 000040CE  544F                     addq.w     A7, 2
  6149. 000040D0  6600 00FA                bne        +0xFC /* 000041CC */
  6150. 000040D4  2053                     movea.l    A0, [A3]
  6151. 000040D6  A029                     syscall    HLock
  6152. 000040D8  4878 0200                push.l     0x200
  6153. 000040DC  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6154. 000040E0  4EAD A8C0                jsr        [A5 - 0x5740]
  6155. 000040E4  3600                     move.w     D3, D0
  6156. 000040E6  4A43                     tst.w      D3
  6157. 000040E8  504F                     addq.w     A7, 8
  6158. 000040EA  6600 00E0                bne        +0xE2 /* 000041CC */
  6159. 000040EE  2F05                     move.l     -[A7], D5
  6160. 000040F0  2053                     movea.l    A0, [A3]
  6161. 000040F2  2F10                     move.l     -[A7], [A0]
  6162. 000040F4  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6163. 000040F8  4EAD A8B0                jsr        [A5 - 0x5750]
  6164. 000040FC  3600                     move.w     D3, D0
  6165. 000040FE  4A43                     tst.w      D3
  6166. 00004100  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6167. 00004104  6600 00C6                bne        +0xC8 /* 000041CC */
  6168. 00004108  2805                     move.l     D4, D5
  6169. 0000410A  0684 0000 0200           addi.l     D4, 0x200
  6170. 00004110  602C                     bra        +0x2E /* 0000413E */
  6171. label00004112:
  6172. 00004112  4878 0002                push.l     0x2
  6173. 00004116  486F 0008                pea.l      [A7 + 0x8]
  6174. 0000411A  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6175. 0000411E  4EAD A8B0                jsr        [A5 - 0x5750]
  6176. 00004122  3600                     move.w     D3, D0
  6177. 00004124  4A43                     tst.w      D3
  6178. 00004126  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6179. 0000412A  6600 00A0                bne        +0xA2 /* 000041CC */
  6180. 0000412E  45EF 0004                lea.l      A2, [A7 + 0x4]
  6181. 00004132  4A12                     tst.b      [A2]
  6182. 00004134  6610                     bne        +0x12 /* 00004146 */
  6183. 00004136  4A2A 0001                tst.b      [A2 + 0x1]
  6184. 0000413A  660A                     bne        +0xC /* 00004146 */
  6185. 0000413C  5484                     addq.l     D4, 2
  6186. label0000413E:
  6187. 0000413E  2017                     move.l     D0, [A7]
  6188. 00004140  5380                     subq.l     D0, 1
  6189. 00004142  B880                     cmp.l      D4, D0
  6190. 00004144  6DCC                     blt        -0x32 /* 00004112 */
  6191. label00004146:
  6192. 00004146  2F04                     move.l     -[A7], D4
  6193. 00004148  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6194. 0000414C  4EAD A8C0                jsr        [A5 - 0x5740]
  6195. 00004150  3600                     move.w     D3, D0
  6196. 00004152  4A43                     tst.w      D3
  6197. 00004154  504F                     addq.w     A7, 8
  6198. 00004156  6674                     bne        +0x76 /* 000041CC */
  6199. 00004158  4878 0004                push.l     0x4
  6200. 0000415C  486F 0008                pea.l      [A7 + 0x8]
  6201. 00004160  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6202. 00004164  4EAD A8B0                jsr        [A5 - 0x5750]
  6203. 00004168  3600                     move.w     D3, D0
  6204. 0000416A  4A43                     tst.w      D3
  6205. 0000416C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6206. 00004170  665A                     bne        +0x5C /* 000041CC */
  6207. 00004172  45EF 0004                lea.l      A2, [A7 + 0x4]
  6208. 00004176  0C12 0011                cmpi.b     [A2], 0x11
  6209. 0000417A  6608                     bne        +0xA /* 00004184 */
  6210. 0000417C  0C2A 0001 0001           cmpi.b     [A2 + 0x1], 0x1
  6211. 00004182  6720                     beq        +0x22 /* 000041A4 */
  6212. label00004184:
  6213. 00004184  4A12                     tst.b      [A2]
  6214. 00004186  6618                     bne        +0x1A /* 000041A0 */
  6215. 00004188  0C2A 0011 0001           cmpi.b     [A2 + 0x1], 0x11
  6216. 0000418E  6610                     bne        +0x12 /* 000041A0 */
  6217. 00004190  0C2A 0002 0002           cmpi.b     [A2 + 0x2], 0x2
  6218. 00004196  6608                     bne        +0xA /* 000041A0 */
  6219. 00004198  0C2A 00FF 0003           cmpi.b     [A2 + 0x3], 0xFF
  6220. 0000419E  6704                     beq        +0x6 /* 000041A4 */
  6221. label000041A0:
  6222. 000041A0  7658                     moveq.l    D3, 0x58
  6223. 000041A2  6028                     bra        +0x2A /* 000041CC */
  6224. label000041A4:
  6225. 000041A4  2005                     move.l     D0, D5
  6226. 000041A6  0680 0000 0200           addi.l     D0, 0x200
  6227. 000041AC  2F00                     move.l     -[A7], D0
  6228. 000041AE  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6229. 000041B2  4EAD A8C0                jsr        [A5 - 0x5740]
  6230. 000041B6  3600                     move.w     D3, D0
  6231. 000041B8  4A43                     tst.w      D3
  6232. 000041BA  504F                     addq.w     A7, 8
  6233. 000041BC  660E                     bne        +0x10 /* 000041CC */
  6234. 000041BE  2053                     movea.l    A0, [A3]
  6235. 000041C0  A02A                     syscall    HUnlock
  6236. 000041C2  7000                     moveq.l    D0, 0x00
  6237. 000041C4  504F                     addq.w     A7, 8
  6238. 000041C6  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6239. 000041CA  4E75                     rts
  6240. label000041CC:
  6241. 000041CC  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6242. 000041D0  4EAD A8A8                jsr        [A5 - 0x5758]
  6243. 000041D4  2F0B                     move.l     -[A7], A3
  6244. 000041D6  4EAD BAC0                jsr        [A5 - 0x4540]
  6245. 000041DA  504F                     addq.w     A7, 8
  6246. label000041DC:
  6247. 000041DC  3003                     move.w     D0, D3
  6248. 000041DE  504F                     addq.w     A7, 8
  6249. 000041E0  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6250. 000041E4  4E75                     rts
  6251. 000041E6  48E7 1020                movem.l    -[A7], D3,A2
  6252. 000041EA  594F                     subq.w     A7, 4
  6253. 000041EC  246F 0010                movea.l    A2, [A7 + 0x10]
  6254. 000041F0  4857                     pea.l      [A7]
  6255. 000041F2  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6256. 000041F6  4EAD A958                jsr        [A5 - 0x56A8]
  6257. 000041FA  3600                     move.w     D3, D0
  6258. 000041FC  4A43                     tst.w      D3
  6259. 000041FE  504F                     addq.w     A7, 8
  6260. 00004200  6652                     bne        +0x54 /* 00004254 */
  6261. 00004202  2017                     move.l     D0, [A7]
  6262. 00004204  0680 FFFF FE00           addi.l     D0, 0xFFFFFE00
  6263. 0000420A  2F00                     move.l     -[A7], D0
  6264. 0000420C  2F0A                     move.l     -[A7], A2
  6265. 0000420E  4EAD C270                jsr        [A5 - 0x3D90]
  6266. 00004212  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6267. 00004216  301F                     move.w     D0, [A7]+
  6268. 00004218  3600                     move.w     D3, D0
  6269. 0000421A  4A43                     tst.w      D3
  6270. 0000421C  5C4F                     addq.w     A7, 6
  6271. 0000421E  6634                     bne        +0x36 /* 00004254 */
  6272. 00004220  2052                     movea.l    A0, [A2]
  6273. 00004222  A029                     syscall    HLock
  6274. 00004224  4878 0200                push.l     0x200
  6275. 00004228  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6276. 0000422C  4EAD A8C0                jsr        [A5 - 0x5740]
  6277. 00004230  3600                     move.w     D3, D0
  6278. 00004232  4A43                     tst.w      D3
  6279. 00004234  504F                     addq.w     A7, 8
  6280. 00004236  661C                     bne        +0x1E /* 00004254 */
  6281. 00004238  2017                     move.l     D0, [A7]
  6282. 0000423A  0680 FFFF FE00           addi.l     D0, 0xFFFFFE00
  6283. 00004240  2F00                     move.l     -[A7], D0
  6284. 00004242  2052                     movea.l    A0, [A2]
  6285. 00004244  2F10                     move.l     -[A7], [A0]
  6286. 00004246  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6287. 0000424A  4EAD A8B0                jsr        [A5 - 0x5750]
  6288. 0000424E  3600                     move.w     D3, D0
  6289. 00004250  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6290. label00004254:
  6291. 00004254  3003                     move.w     D0, D3
  6292. 00004256  584F                     addq.w     A7, 4
  6293. 00004258  4CDF 0408                movem.l    D3,A2, [A7]+
  6294. 0000425C  4E75                     rts
  6295. fn0000425E:
  6296. 0000425E  2F2D 123C                move.l     -[A7], [A5 + 0x123C]
  6297. 00004262  4EAD A8A8                jsr        [A5 - 0x5758]
  6298. 00004266  584F                     addq.w     A7, 4
  6299. 00004268  4E75                     rts
  6300. fn0000426A:
  6301. 0000426A  2F0A                     move.l     -[A7], A2
  6302. 0000426C  594F                     subq.w     A7, 4
  6303. 0000426E  246F 0010                movea.l    A2, [A7 + 0x10]
  6304. 00004272  157C 0002 00A6           move.b     [A2 + 0xA6], 0x2
  6305. 00004278  256F 000C 0096           move.l     [A2 + 0x96], [A7 + 0xC]
  6306. 0000427E  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6307. 00004282  4EAD DF00                jsr        [A5 - 0x2100]
  6308. 00004286  4A00                     tst.b      D0
  6309. 00004288  584F                     addq.w     A7, 4
  6310. 0000428A  672A                     beq        +0x2C /* 000042B6 */
  6311. 0000428C  422A 00A6                clr.b      [A2 + 0xA6]
  6312. 00004290  41ED 20A8                lea.l      A0, [A5 + 0x20A8]
  6313. 00004294  2548 0092                move.l     [A2 + 0x92], A0
  6314. 00004298  206A 0092                movea.l    A0, [A2 + 0x92]
  6315. 0000429C  216F 000C 002E           move.l     [A0 + 0x2E], [A7 + 0xC]
  6316. 000042A2  42AA 00A2                clr.l      [A2 + 0xA2]
  6317. 000042A6  206A 0092                movea.l    A0, [A2 + 0x92]
  6318. 000042AA  42A8 0032                clr.l      [A0 + 0x32]
  6319. 000042AE  7001                     moveq.l    D0, 0x01
  6320. 000042B0  584F                     addq.w     A7, 4
  6321. 000042B2  245F                     movea.l    A2, [A7]+
  6322. 000042B4  4E75                     rts
  6323. label000042B6:
  6324. 000042B6  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6325. 000042BA  4EAD B5F8                jsr        [A5 - 0x4A08]
  6326. 000042BE  2548 00A2                move.l     [A2 + 0xA2], A0
  6327. 000042C2  4AAA 00A2                tst.l      [A2 + 0xA2]
  6328. 000042C6  584F                     addq.w     A7, 4
  6329. 000042C8  6726                     beq        +0x28 /* 000042F0 */
  6330. 000042CA  2F0A                     move.l     -[A7], A2
  6331. 000042CC  206A 00A2                movea.l    A0, [A2 + 0xA2]
  6332. 000042D0  2F28 0018                move.l     -[A7], [A0 + 0x18]
  6333. 000042D4  4EAD BEC0                jsr        [A5 - 0x4140]
  6334. 000042D8  2F40 0008                move.l     [A7 + 0x8], D0
  6335. 000042DC  4A80                     tst.l      D0
  6336. 000042DE  504F                     addq.w     A7, 8
  6337. 000042E0  660E                     bne        +0x10 /* 000042F0 */
  6338. 000042E2  157C 0001 00A6           move.b     [A2 + 0xA6], 0x1
  6339. 000042E8  7001                     moveq.l    D0, 0x01
  6340. 000042EA  584F                     addq.w     A7, 4
  6341. 000042EC  245F                     movea.l    A2, [A7]+
  6342. 000042EE  4E75                     rts
  6343. label000042F0:
  6344. 000042F0  7000                     moveq.l    D0, 0x00
  6345. 000042F2  584F                     addq.w     A7, 4
  6346. 000042F4  245F                     movea.l    A2, [A7]+
  6347. 000042F6  4E75                     rts
  6348. fn000042F8:
  6349. 000042F8  2F0A                     move.l     -[A7], A2
  6350. 000042FA  594F                     subq.w     A7, 4
  6351. 000042FC  246F 000C                movea.l    A2, [A7 + 0xC]
  6352. 00004300  4A2A 00A6                tst.b      [A2 + 0xA6]
  6353. 00004304  6612                     bne        +0x14 /* 00004318 */
  6354. 00004306  206A 0092                movea.l    A0, [A2 + 0x92]
  6355. 0000430A  4268 002E                clr.w      [A0 + 0x2E]
  6356. 0000430E  206A 0092                movea.l    A0, [A2 + 0x92]
  6357. 00004312  4268 0030                clr.w      [A0 + 0x30]
  6358. 00004316  600C                     bra        +0xE /* 00004324 */
  6359. label00004318:
  6360. 00004318  2F12                     move.l     -[A7], [A2]
  6361. 0000431A  4EAD BEB8                jsr        [A5 - 0x4148]
  6362. 0000431E  2F40 0004                move.l     [A7 + 0x4], D0
  6363. 00004322  584F                     addq.w     A7, 4
  6364. label00004324:
  6365. 00004324  157C 0002 00A6           move.b     [A2 + 0xA6], 0x2
  6366. 0000432A  584F                     addq.w     A7, 4
  6367. 0000432C  245F                     movea.l    A2, [A7]+
  6368. 0000432E  4E75                     rts
  6369. fn00004330:
  6370. 00004330  302F 0004                move.w     D0, [A7 + 0x4]
  6371. 00004334  B06D 205A                cmp.w      D0, [A5 + 0x205A /* export_1031 */]
  6372. 00004338  660A                     bne        +0xC /* 00004344 */
  6373. 0000433A  302F 0006                move.w     D0, [A7 + 0x6]
  6374. 0000433E  B06D 205C                cmp.w      D0, [A5 + 0x205C]
  6375. 00004342  6714                     beq        +0x16 /* 00004358 */
  6376. label00004344:
  6377. 00004344  206D 204E                movea.l    A0, [A5 + 0x204E]
  6378. 00004348  2050                     movea.l    A0, [A0]
  6379. 0000434A  0C68 0001 0004           cmpi.w     [A0 + 0x4], 0x1
  6380. 00004350  6706                     beq        +0x8 /* 00004358 */
  6381. 00004352  2B6F 0004 205A           move.l     [A5 + 0x205A /* export_1031 */], [A7 + 0x4]
  6382. label00004358:
  6383. 00004358  4E75                     rts
  6384. fn0000435A:
  6385. 0000435A  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  6386. 0000435E  594F                     subq.w     A7, 4
  6387. 00004360  246F 0024                movea.l    A2, [A7 + 0x24]
  6388. 00004364  266F 0028                movea.l    A3, [A7 + 0x28]
  6389. 00004368  3E2F 002C                move.w     D7, [A7 + 0x2C]
  6390. 0000436C  7A00                     moveq.l    D5, 0x00
  6391. 0000436E  7C00                     moveq.l    D6, 0x00
  6392. 00004370  7600                     moveq.l    D3, 0x00
  6393. 00004372  7800                     moveq.l    D4, 0x00
  6394. 00004374  2553 009A                move.l     [A2 + 0x9A], [A3]
  6395. 00004378  256B 0004 009E           move.l     [A2 + 0x9E], [A3 + 0x4]
  6396. 0000437E  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  6397. 00004382  4A28 1701                tst.b      [A0 + 0x1701]
  6398. 00004386  6604                     bne        +0x6 /* 0000438C */
  6399. 00004388  7000                     moveq.l    D0, 0x00
  6400. 0000438A  6002                     bra        +0x4 /* 0000438E */
  6401. label0000438C:
  6402. 0000438C  7001                     moveq.l    D0, 0x01
  6403. label0000438E:
  6404. 0000438E  2540 004C                move.l     [A2 + 0x4C], D0
  6405. 00004392  0C47 0005                cmpi.w     D7, 0x5
  6406. 00004396  6706                     beq        +0x8 /* 0000439E */
  6407. 00004398  4A47                     tst.w      D7
  6408. 0000439A  6702                     beq        +0x4 /* 0000439E */
  6409. 0000439C  7C01                     moveq.l    D6, 0x01
  6410. label0000439E:
  6411. 0000439E  157C 0001 00A7           move.b     [A2 + 0xA7], 0x1
  6412. 000043A4  4A2A 00A6                tst.b      [A2 + 0xA6]
  6413. 000043A8  6664                     bne        +0x66 /* 0000440E */
  6414. 000043AA  554F                     subq.w     A7, 2
  6415. 000043AC  2F2A 0092                move.l     -[A7], [A2 + 0x92]
  6416. 000043B0  4EAD DF38                jsr        [A5 - 0x20C8]
  6417. 000043B4  301F                     move.w     D0, [A7]+
  6418. 000043B6  48C0                     ext.l      D0
  6419. 000043B8  2800                     move.l     D4, D0
  6420. 000043BA  2600                     move.l     D3, D0
  6421. 000043BC  4A84                     tst.l      D4
  6422. 000043BE  6F00 0108                ble        +0x10A /* 000044C8 */
  6423. 000043C2  7A01                     moveq.l    D5, 0x01
  6424. 000043C4  42A7                     clr.l      -[A7]
  6425. 000043C6  206A 0092                movea.l    A0, [A2 + 0x92]
  6426. 000043CA  2F28 002E                move.l     -[A7], [A0 + 0x2E]
  6427. 000043CE  4EAD DF08                jsr        [A5 - 0x20F8]
  6428. 000043D2  2540 0048                move.l     [A2 + 0x48], D0
  6429. 000043D6  4A06                     tst.b      D6
  6430. 000043D8  504F                     addq.w     A7, 8
  6431. 000043DA  6712                     beq        +0x14 /* 000043EE */
  6432. 000043DC  202A 0048                move.l     D0, [A2 + 0x48]
  6433. 000043E0  E588                     lsl        D0, 2
  6434. 000043E2  4C7C 0800 0000 0005      movem.l    A3, 0x5
  6435. 000043EA  2540 0048                move.l     [A2 + 0x48], D0
  6436. label000043EE:
  6437. 000043EE  42AA 0050                clr.l      [A2 + 0x50]
  6438. 000043F2  42AA 007C                clr.l      [A2 + 0x7C]
  6439. 000043F6  202A 0048                move.l     D0, [A2 + 0x48]
  6440. 000043FA  7210                     moveq.l    D1, 0x10
  6441. 000043FC  E3A8                     lsl        D0, D1
  6442. 000043FE  4C44 0800                movem.l    A3, D4
  6443. 00004402  2540 0074                move.l     [A2 + 0x74], D0
  6444. 00004406  42AA 0078                clr.l      [A2 + 0x78]
  6445. 0000440A  6000 00BC                bra        +0xBE /* 000044C8 */
  6446. label0000440E:
  6447. 0000440E  7620                     moveq.l    D3, 0x20
  6448. 00004410  4857                     pea.l      [A7]
  6449. 00004412  4EAD C758                jsr        [A5 - 0x38A8]
  6450. 00004416  486A 0004                pea.l      [A2 + 0x4]
  6451. 0000441A  486F 0008                pea.l      [A7 + 0x8]
  6452. 0000441E  4EAD BFC0                jsr        [A5 - 0x4040]
  6453. 00004422  2800                     move.l     D4, D0
  6454. 00004424  4A84                     tst.l      D4
  6455. 00004426  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6456. 0000442A  661E                     bne        +0x20 /* 0000444A */
  6457. 0000442C  486A 0024                pea.l      [A2 + 0x24]
  6458. 00004430  486F 0004                pea.l      [A7 + 0x4]
  6459. 00004434  4EAD BFC8                jsr        [A5 - 0x4038]
  6460. 00004438  2800                     move.l     D4, D0
  6461. 0000443A  4A84                     tst.l      D4
  6462. 0000443C  504F                     addq.w     A7, 8
  6463. 0000443E  670A                     beq        +0xC /* 0000444A */
  6464. 00004440  486A 0004                pea.l      [A2 + 0x4]
  6465. 00004444  4EAD C000                jsr        [A5 - 0x4000]
  6466. 00004448  584F                     addq.w     A7, 4
  6467. label0000444A:
  6468. 0000444A  4A84                     tst.l      D4
  6469. 0000444C  6674                     bne        +0x76 /* 000044C2 */
  6470. 0000444E  206A 00A2                movea.l    A0, [A2 + 0xA2]
  6471. 00004452  7000                     moveq.l    D0, 0x00
  6472. 00004454  1028 0031                move.b     D0, [A0 + 0x31]
  6473. 00004458  2540 0044                move.l     [A2 + 0x44], D0
  6474. 0000445C  2F0A                     move.l     -[A7], A2
  6475. 0000445E  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  6476. 00004462  4EAD DF08                jsr        [A5 - 0x20F8]
  6477. 00004466  2540 0048                move.l     [A2 + 0x48], D0
  6478. 0000446A  42AA 0050                clr.l      [A2 + 0x50]
  6479. 0000446E  42AA 0054                clr.l      [A2 + 0x54]
  6480. 00004472  3053                     movea.w    A0, [A3]
  6481. 00004474  2548 0058                move.l     [A2 + 0x58], A0
  6482. 00004478  306B 0002                movea.w    A0, [A3 + 0x2]
  6483. 0000447C  2548 005C                move.l     [A2 + 0x5C], A0
  6484. 00004480  306B 0004                movea.w    A0, [A3 + 0x4]
  6485. 00004484  2548 0060                move.l     [A2 + 0x60], A0
  6486. 00004488  306B 0006                movea.w    A0, [A3 + 0x6]
  6487. 0000448C  2548 0064                move.l     [A2 + 0x64], A0
  6488. 00004490  486A 0044                pea.l      [A2 + 0x44]
  6489. 00004494  486A 0058                pea.l      [A2 + 0x58]
  6490. 00004498  486A 0024                pea.l      [A2 + 0x24]
  6491. 0000449C  486A 0004                pea.l      [A2 + 0x4]
  6492. 000044A0  2F12                     move.l     -[A7], [A2]
  6493. 000044A2  4EAD BF58                jsr        [A5 - 0x40A8]
  6494. 000044A6  2800                     move.l     D4, D0
  6495. 000044A8  4A84                     tst.l      D4
  6496. 000044AA  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6497. 000044AE  6712                     beq        +0x14 /* 000044C2 */
  6498. 000044B0  486A 0004                pea.l      [A2 + 0x4]
  6499. 000044B4  4EAD C000                jsr        [A5 - 0x4000]
  6500. 000044B8  486A 0024                pea.l      [A2 + 0x24]
  6501. 000044BC  4EAD C000                jsr        [A5 - 0x4000]
  6502. 000044C0  504F                     addq.w     A7, 8
  6503. label000044C2:
  6504. 000044C2  4A84                     tst.l      D4
  6505. 000044C4  6602                     bne        +0x4 /* 000044C8 */
  6506. 000044C6  7A01                     moveq.l    D5, 0x01
  6507. label000044C8:
  6508. 000044C8  4A05                     tst.b      D5
  6509. 000044CA  6776                     beq        +0x78 /* 00004542 */
  6510. 000044CC  4A06                     tst.b      D6
  6511. 000044CE  674E                     beq        +0x50 /* 0000451E */
  6512. 000044D0  7014                     moveq.l    D0, 0x14
  6513. 000044D2  B680                     cmp.l      D3, D0
  6514. 000044D4  6C04                     bge        +0x6 /* 000044DA */
  6515. 000044D6  7614                     moveq.l    D3, 0x14
  6516. 000044D8  600E                     bra        +0x10 /* 000044E8 */
  6517. label000044DA:
  6518. 000044DA  0C83 0000 07D0           cmpi.l     D3, 0x7D0
  6519. 000044E0  6F06                     ble        +0x8 /* 000044E8 */
  6520. 000044E2  263C 0000 07D0           move.l     D3, 0x7D0
  6521. label000044E8:
  6522. 000044E8  3F03                     move.w     -[A7], D3
  6523. 000044EA  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  6524. 000044EE  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  6525. 000044F2  4EAD D748                jsr        [A5 - 0x28B8]
  6526. 000044F6  2F2F 003C                move.l     -[A7], [A7 + 0x3C]
  6527. 000044FA  4EBA FE34                jsr        [PC - 0x1CC /* 00004330 */]
  6528. 000044FE  42AA 0068                clr.l      [A2 + 0x68]
  6529. 00004502  202A 0048                move.l     D0, [A2 + 0x48]
  6530. 00004506  7210                     moveq.l    D1, 0x10
  6531. 00004508  E3A8                     lsl        D0, D1
  6532. 0000450A  4C43 0800                movem.l    A3, D3
  6533. 0000450E  2540 006C                move.l     [A2 + 0x6C], D0
  6534. 00004512  42AA 0070                clr.l      [A2 + 0x70]
  6535. 00004516  422A 00A7                clr.b      [A2 + 0xA7]
  6536. 0000451A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6537. label0000451E:
  6538. 0000451E  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  6539. 00004522  4A28 1701                tst.b      [A0 + 0x1701]
  6540. 00004526  6716                     beq        +0x18 /* 0000453E */
  6541. 00004528  486A 0080                pea.l      [A2 + 0x80]
  6542. 0000452C  4EAD AEB0                jsr        [A5 - 0x5150]
  6543. 00004530  486A 0080                pea.l      [A2 + 0x80]
  6544. 00004534  4EAD AEB8                jsr        [A5 - 0x5148]
  6545. 00004538  42AA 007C                clr.l      [A2 + 0x7C]
  6546. 0000453C  504F                     addq.w     A7, 8
  6547. label0000453E:
  6548. 0000453E  422A 00A8                clr.b      [A2 + 0xA8]
  6549. label00004542:
  6550. 00004542  1005                     move.b     D0, D5
  6551. 00004544  584F                     addq.w     A7, 4
  6552. 00004546  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  6553. 0000454A  4E75                     rts
  6554. fn0000454C:
  6555. 0000454C  48E7 1020                movem.l    -[A7], D3,A2
  6556. 00004550  594F                     subq.w     A7, 4
  6557. 00004552  246F 0010                movea.l    A2, [A7 + 0x10]
  6558. 00004556  7601                     moveq.l    D3, 0x01
  6559. 00004558  4AAA 004C                tst.l      [A2 + 0x4C]
  6560. 0000455C  670E                     beq        +0x10 /* 0000456C */
  6561. 0000455E  486A 0080                pea.l      [A2 + 0x80]
  6562. 00004562  4EAD AEC8                jsr        [A5 - 0x5138]
  6563. 00004566  2540 0050                move.l     [A2 + 0x50], D0
  6564. 0000456A  584F                     addq.w     A7, 4
  6565. label0000456C:
  6566. 0000456C  4A2A 00A6                tst.b      [A2 + 0xA6]
  6567. 00004570  664E                     bne        +0x50 /* 000045C0 */
  6568. 00004572  4A2A 00A8                tst.b      [A2 + 0xA8]
  6569. 00004576  6600 00B2                bne        +0xB4 /* 0000462A */
  6570. 0000457A  4AAA 004C                tst.l      [A2 + 0x4C]
  6571. 0000457E  6700 00AA                beq        +0xAC /* 0000462A */
  6572. 00004582  202A 0050                move.l     D0, [A2 + 0x50]
  6573. 00004586  B0AA 007C                cmp.l      D0, [A2 + 0x7C]
  6574. 0000458A  6C06                     bge        +0x8 /* 00004592 */
  6575. 0000458C  7600                     moveq.l    D3, 0x00
  6576. 0000458E  6000 009A                bra        +0x9C /* 0000462A */
  6577. label00004592:
  6578. 00004592  554F                     subq.w     A7, 2
  6579. 00004594  2F2A 0092                move.l     -[A7], [A2 + 0x92]
  6580. 00004598  4EAD DF40                jsr        [A5 - 0x20C0]
  6581. 0000459C  101F                     move.b     D0, [A7]+
  6582. 0000459E  6618                     bne        +0x1A /* 000045B8 */
  6583. 000045A0  202A 0074                move.l     D0, [A2 + 0x74]
  6584. 000045A4  D1AA 0078                add.l      [A2 + 0x78], D0
  6585. 000045A8  202A 0078                move.l     D0, [A2 + 0x78]
  6586. 000045AC  7210                     moveq.l    D1, 0x10
  6587. 000045AE  E2A0                     asr        D0, D1
  6588. 000045B0  2540 007C                move.l     [A2 + 0x7C], D0
  6589. 000045B4  7600                     moveq.l    D3, 0x00
  6590. 000045B6  6072                     bra        +0x74 /* 0000462A */
  6591. label000045B8:
  6592. 000045B8  157C 0001 00A8           move.b     [A2 + 0xA8], 0x1
  6593. 000045BE  606A                     bra        +0x6C /* 0000462A */
  6594. label000045C0:
  6595. 000045C0  4297                     clr.l      [A7]
  6596. 000045C2  4A2A 00A8                tst.b      [A2 + 0xA8]
  6597. 000045C6  6662                     bne        +0x64 /* 0000462A */
  6598. 000045C8  4AAA 004C                tst.l      [A2 + 0x4C]
  6599. 000045CC  6720                     beq        +0x22 /* 000045EE */
  6600. 000045CE  202A 0050                move.l     D0, [A2 + 0x50]
  6601. 000045D2  B0AA 007C                cmp.l      D0, [A2 + 0x7C]
  6602. 000045D6  6C04                     bge        +0x6 /* 000045DC */
  6603. 000045D8  7600                     moveq.l    D3, 0x00
  6604. 000045DA  604E                     bra        +0x50 /* 0000462A */
  6605. label000045DC:
  6606. 000045DC  5AAA 007C                addq.l     [A2 + 0x7C], 5
  6607. 000045E0  0CAA 0000 7530 007C      cmpi.l     [A2 + 0x7C], 0x7530 /* 'u0' */
  6608. 000045E8  6F04                     ble        +0x6 /* 000045EE */
  6609. 000045EA  7601                     moveq.l    D3, 0x01
  6610. 000045EC  603C                     bra        +0x3E /* 0000462A */
  6611. label000045EE:
  6612. 000045EE  4857                     pea.l      [A7]
  6613. 000045F0  486A 0044                pea.l      [A2 + 0x44]
  6614. 000045F4  486A 0058                pea.l      [A2 + 0x58]
  6615. 000045F8  486A 0024                pea.l      [A2 + 0x24]
  6616. 000045FC  486A 0004                pea.l      [A2 + 0x4]
  6617. 00004600  2F12                     move.l     -[A7], [A2]
  6618. 00004602  4EAD BF60                jsr        [A5 - 0x40A0]
  6619. 00004606  2600                     move.l     D3, D0
  6620. 00004608  4A83                     tst.l      D3
  6621. 0000460A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6622. 0000460E  6704                     beq        +0x6 /* 00004614 */
  6623. 00004610  7601                     moveq.l    D3, 0x01
  6624. 00004612  600A                     bra        +0xC /* 0000461E */
  6625. label00004614:
  6626. 00004614  4A97                     tst.l      [A7]
  6627. 00004616  6604                     bne        +0x6 /* 0000461C */
  6628. 00004618  7600                     moveq.l    D3, 0x00
  6629. 0000461A  6002                     bra        +0x4 /* 0000461E */
  6630. label0000461C:
  6631. 0000461C  7601                     moveq.l    D3, 0x01
  6632. label0000461E:
  6633. 0000461E  0C03 0001                cmpi.b     D3, 0x1
  6634. 00004622  6606                     bne        +0x8 /* 0000462A */
  6635. 00004624  157C 0001 00A8           move.b     [A2 + 0xA8], 0x1
  6636. label0000462A:
  6637. 0000462A  4A2A 00A7                tst.b      [A2 + 0xA7]
  6638. 0000462E  663A                     bne        +0x3C /* 0000466A */
  6639. 00004630  4AAA 004C                tst.l      [A2 + 0x4C]
  6640. 00004634  6734                     beq        +0x36 /* 0000466A */
  6641. 00004636  202A 0050                move.l     D0, [A2 + 0x50]
  6642. 0000463A  B0AA 0068                cmp.l      D0, [A2 + 0x68]
  6643. 0000463E  6F2A                     ble        +0x2C /* 0000466A */
  6644. 00004640  486D 2052                pea.l      [A5 + 0x2052 /* export_1030 */]
  6645. 00004644  4EAD D750                jsr        [A5 - 0x28B0]
  6646. 00004648  1540 00A7                move.b     [A2 + 0xA7], D0
  6647. 0000464C  4A2A 00A7                tst.b      [A2 + 0xA7]
  6648. 00004650  584F                     addq.w     A7, 4
  6649. 00004652  6616                     bne        +0x18 /* 0000466A */
  6650. 00004654  202A 006C                move.l     D0, [A2 + 0x6C]
  6651. 00004658  D1AA 0070                add.l      [A2 + 0x70], D0
  6652. 0000465C  202A 0070                move.l     D0, [A2 + 0x70]
  6653. 00004660  7210                     moveq.l    D1, 0x10
  6654. 00004662  E2A0                     asr        D0, D1
  6655. 00004664  2540 0068                move.l     [A2 + 0x68], D0
  6656. 00004668  7600                     moveq.l    D3, 0x00
  6657. label0000466A:
  6658. 0000466A  1003                     move.b     D0, D3
  6659. 0000466C  584F                     addq.w     A7, 4
  6660. 0000466E  4CDF 0408                movem.l    D3,A2, [A7]+
  6661. 00004672  4E75                     rts
  6662. fn00004674:
  6663. 00004674  2F0A                     move.l     -[A7], A2
  6664. 00004676  594F                     subq.w     A7, 4
  6665. 00004678  246F 000C                movea.l    A2, [A7 + 0xC]
  6666. 0000467C  206D 1C1A                movea.l    A0, [A5 + 0x1C1A /* export_895 */]
  6667. 00004680  4A28 1701                tst.b      [A0 + 0x1701]
  6668. 00004684  670E                     beq        +0x10 /* 00004694 */
  6669. 00004686  486A 0080                pea.l      [A2 + 0x80]
  6670. 0000468A  4EAD AEC0                jsr        [A5 - 0x5140]
  6671. 0000468E  2540 0050                move.l     [A2 + 0x50], D0
  6672. 00004692  584F                     addq.w     A7, 4
  6673. label00004694:
  6674. 00004694  4A2A 00A6                tst.b      [A2 + 0xA6]
  6675. 00004698  661A                     bne        +0x1C /* 000046B4 */
  6676. 0000469A  2F2A 0092                move.l     -[A7], [A2 + 0x92]
  6677. 0000469E  4EAD DF48                jsr        [A5 - 0x20B8]
  6678. 000046A2  206A 0092                movea.l    A0, [A2 + 0x92]
  6679. 000046A6  4268 002E                clr.w      [A0 + 0x2E]
  6680. 000046AA  206A 0092                movea.l    A0, [A2 + 0x92]
  6681. 000046AE  4268 0030                clr.w      [A0 + 0x30]
  6682. 000046B2  602E                     bra        +0x30 /* 000046E2 */
  6683. label000046B4:
  6684. 000046B4  486A 0044                pea.l      [A2 + 0x44]
  6685. 000046B8  486A 0058                pea.l      [A2 + 0x58]
  6686. 000046BC  486A 0024                pea.l      [A2 + 0x24]
  6687. 000046C0  486A 0004                pea.l      [A2 + 0x4]
  6688. 000046C4  2F12                     move.l     -[A7], [A2]
  6689. 000046C6  4EAD BF68                jsr        [A5 - 0x4098]
  6690. 000046CA  2F40 0014                move.l     [A7 + 0x14], D0
  6691. 000046CE  486A 0004                pea.l      [A2 + 0x4]
  6692. 000046D2  4EAD C000                jsr        [A5 - 0x4000]
  6693. 000046D6  486A 0024                pea.l      [A2 + 0x24]
  6694. 000046DA  4EAD C000                jsr        [A5 - 0x4000]
  6695. 000046DE  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6696. label000046E2:
  6697. 000046E2  584F                     addq.w     A7, 4
  6698. 000046E4  245F                     movea.l    A2, [A7]+
  6699. 000046E6  4E75                     rts
  6700. 000046E8  0000 0000                ori.b      D0, 0x0
  6701. 000046EC  0000 0000                ori.b      D0, 0x0
  6702. 000046F0  0000 0000                ori.b      D0, 0x0
  6703.